Index: advcache.module
===================================================================
RCS file: /cvs/drupal/contributions/modules/advcache/advcache.module,v
retrieving revision 1.1.2.2
diff -u -r1.1.2.2 advcache.module
--- advcache.module	28 May 2007 11:11:22 -0000	1.1.2.2
+++ advcache.module	28 Jun 2007 07:26:16 -0000
@@ -57,6 +57,9 @@
     case 'delete':
     case 'update':
     case 'insert':
+    case 'publish':
+    case 'unpublish':
+      $a1 = (array)$a1;
       cache_clear_all('nid-'. $a1['nid'], 'cache_comment', TRUE);
       break;
   }
