diff --git a/index.php b/index.php index 5fd8b2b..1a637c7 100644 --- a/index.php +++ b/index.php @@ -10,7 +10,6 @@ $updateMsg = ''; if ($ICEcoder["checkUpdates"]) { $icv = explode("\n",file_get_contents("http://icecoder.net/latest-version?thisVersion=".$ICEcoder["versionNo"])); $icv = $icv[0]; - $icv = rtrim(ltrim($icv,'"'),'"\\n'); if ($ICEcoder["versionNo"]<$icv) { $updateMsg = ";top.ICEcoder.dataMessage('UPDATE INFO: ICEcoder v ".$icv." now available. (Your version is v ".$ICEcoder["versionNo"]."). Get it free from icecoder.net');"; } @@ -32,7 +31,6 @@ window.onbeforeunload = function() { return "You have some unsaved changes."; } } -