Issue #1270652 by MrHaroldA: Undefined variable: sqid in nodequeue_queue_swap().
authorAndrei Mateescu
Sat, 10 Sep 2011 21:17:06 +0000 (00:17 +0300)
committerAndrei Mateescu
Sat, 10 Sep 2011 21:17:06 +0000 (00:17 +0300)
nodequeue.module

index 9da9c5d..1a21e7d 100644 (file)
@@ -1202,7 +1202,7 @@ function nodequeue_queue_swap($subqueue, $pos1, $pos2) {
     ->execute();
 
   // notify other modules of the swap
-  module_invoke_all('nodequeue_swap', $sqid, $nid);
+  module_invoke_all('nodequeue_swap', $subqueue->sqid, $nid);
 
 }