# HG changeset patch # User Dan # Date 1218504926 14400 # Node ID fcc494e02baf56f90043d2025ceba812805a658b # Parent 9523cc7d767cb8b75c6782ecf92e218fe0f454f8 Fixed a couple bugs in the check-for-updates code. diff -r 9523cc7d767c -r fcc494e02baf plugins/SpecialAdmin.php --- 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. ]]>'; } - if ( version_compare(enano_version(true), $match[2], '<') ) + else { - $response = str_replace_once('', " \n ", $response); + if ( version_compare(enano_version(true), $match[2], '<') ) + { + $response = str_replace_once('', " \n ", $response); + } + echo $response; } - echo $response; } return; }