Fix for number only

This commit is contained in:
Matt Pass
2019-09-27 18:45:56 +01:00
committed by GitHub
parent 287fb893b6
commit dbd828bf98

View File

@@ -12,7 +12,7 @@ if ($ICEcoder["checkUpdates"]) {
$icvData = "1.0\nICEcoder version placeholder";
}
$icvInfo = explode("\n", $icvData);
$icv = $icvInfo[0];
$icv = $icvInfo[0]*1;
$icvI = str_replace('"','\\\'',$icvInfo[1]);
$thisV = $ICEcoder["versionNo"];
if (strpos($thisV,"beta")>-1 && !strpos($icv,"beta") && str_replace(" beta","",$thisV) == $icv) {$thisV-=0.1;};