--- notifications.module	2008-02-14 17:54:32.000000000 +0100
+++ notifications.new.module	2008-02-16 22:18:25.000000000 +0100
@@ -419,7 +419,7 @@ function notifications_load_subscription
  */
 function notifications_delete_subscription($sid) {
   foreach (array('notifications', 'notifications_fields', 'notifications_queue') as $table) {
-    db_query("DELETE FROM {$table} WHERE sid = %d", $sid);
+    db_query("DELETE FROM {".$table."} WHERE sid = %d", $sid);
   }
 }
 
@@ -436,7 +436,7 @@ function notifications_delete_subscripti
     $where[] =  "$field = '%s'";
   }
   foreach (array('notifications_fields', 'notifications_queue') as $table) {
-    db_query("DELETE FROM {$table} WHERE sid IN (SELECT sid FROM {notifications} WHERE ". implode(' AND ', $where) . ")", $conditions);
+    db_query("DELETE FROM {".$table."} WHERE sid IN (SELECT sid FROM {notifications} WHERE ". implode(' AND ', $where) . ")", $conditions);
   }
   db_query("DELETE FROM {notifications} WHERE ". implode(' AND ', $where), $conditions);
 }
@@ -853,4 +853,4 @@ function notifications_simpletest() {
   $dir = drupal_get_path('module', 'notifications'). DIRECTORY_SEPARATOR . 'tests';
   $tests = file_scan_directory($dir, '\.test');
   return array_keys($tests);
-}
\ No newline at end of file
+}
