plugins/SpecialAdmin.php
changeset 683 fcc494e02baf
parent 653 3ea1c552e734
child 685 17ebe24cdf85
--- a/plugins/SpecialAdmin.php	Mon Aug 11 21:34:37 2008 -0400
+++ b/plugins/SpecialAdmin.php	Mon Aug 11 21:35:26 2008 -0400
@@ -118,11 +118,14 @@
 Received invalid XML response.
 ]]></error></latest></enano>';
       }
-      if ( version_compare(enano_version(true), $match[2], '<') )
+      else
       {
-        $response = str_replace_once('</latest>', "  <haveupdates />\n  </latest>", $response);
+        if ( version_compare(enano_version(true), $match[2], '<') )
+        {
+          $response = str_replace_once('</latest>', "  <haveupdates />\n  </latest>", $response);
+        }
+        echo $response;
       }
-      echo $response;
     }
     return;
   }