Index: /branches/wheeljack/lib/MT/App/CMS.pm
===================================================================
--- /branches/wheeljack/lib/MT/App/CMS.pm (revision 976)
+++ /branches/wheeljack/lib/MT/App/CMS.pm (revision 986)
@@ -5697,5 +5697,5 @@
     my $app = shift;
     require MT::Entry;
-    $app->update_entry_status(MT::Entry::HOLD(), $_[0]->param('id'));
+    $app->update_entry_status(MT::Entry::HOLD(), $app->param('id'));
 }
 
@@ -5703,5 +5703,5 @@
     my $app = shift;
     require MT::Entry;
-    $app->update_entry_status(MT::Entry::RELEASE(), $_[0]->param('id'));
+    $app->update_entry_status(MT::Entry::RELEASE(), $app->param('id'));
 }
 
@@ -5719,5 +5719,5 @@
     foreach my $id (@ids) {
         my $entry = MT::Entry->load($id, {cached_ok=>1}) or return $app->errtrans("One of the entries ([_1]) did not actually exist", $id);
-        next if $entry->status != $new_status;
+        next if $entry->status == $new_status;
         $entry->status($new_status);
         $entry->save() and $rebuild_these{$id} = 1;
