plugins/SpecialAdmin.php
changeset 162 e1a22031b5bd
parent 142 ca9118d9c0f2
child 166 d53cc29308f4
child 183 91127e62f38f
--- a/plugins/SpecialAdmin.php	Thu Oct 04 08:22:25 2007 -0400
+++ b/plugins/SpecialAdmin.php	Fri Oct 05 01:57:00 2007 -0400
@@ -2834,9 +2834,8 @@
     
     if(isset($_GET['action']) && isset($_GET['id']))
     {
-      if(preg_match('#^([0-9]*)$#', $_GET['id']))
+      if(!preg_match('#^([0-9]*)$#', $_GET['id']))
       {
-      } else {
         echo '<div class="warning-box">Error with action: $_GET["id"] was not an integer, aborting to prevent SQL injection</div>';
       }
       switch($_GET['action'])