plugins/SpecialAdmin.php
changeset 683 fcc494e02baf
parent 653 3ea1c552e734
child 685 17ebe24cdf85
equal deleted inserted replaced
682:9523cc7d767c 683:fcc494e02baf
   116       {
   116       {
   117         echo '<enano><latest><error><![CDATA[
   117         echo '<enano><latest><error><![CDATA[
   118 Received invalid XML response.
   118 Received invalid XML response.
   119 ]]></error></latest></enano>';
   119 ]]></error></latest></enano>';
   120       }
   120       }
   121       if ( version_compare(enano_version(true), $match[2], '<') )
   121       else
   122       {
   122       {
   123         $response = str_replace_once('</latest>', "  <haveupdates />\n  </latest>", $response);
   123         if ( version_compare(enano_version(true), $match[2], '<') )
   124       }
   124         {
   125       echo $response;
   125           $response = str_replace_once('</latest>', "  <haveupdates />\n  </latest>", $response);
       
   126         }
       
   127         echo $response;
       
   128       }
   126     }
   129     }
   127     return;
   130     return;
   128   }
   131   }
   129   
   132   
   130   // Basic information
   133   // Basic information