--- subscriptions.module	2006-09-05 03:01:56.000000000 +0200
+++ new_subscriptions.module	2006-09-06 21:51:09.000000000 +0200
@@ -537,13 +537,13 @@ function subscriptions_comment_taxa($com
 function subscriptions_comment($comment, $op) {
   global $user;
   $strsent = '!';
-  $nid = $comment->nid;
   if ($op == 'insert' || ($op == 'update' && $comment->status == 1)) { // ignore deactivated comments
+  $nid = $comment['nid'];
     //  if use_cron is set, insert node actions into holding table
     if(variable_get('subscriptions_usecron', 0)){
       subscriptions_hold( $comment, 'comment' , $op, $user->uid );
     } else {  // if cron is not used
-      $cid = $comment->cid;
+      $cid = $comment['cid'];
       $nobj = node_load($nid);
       // send node subscriptions
       $strsent = $strsent . subscriptions_mailvars($nid, $cid, $user->uid, 'node', $strsent);
