diff --git a/_protected/framework/Security/Version.class.php b/_protected/framework/Security/Version.class.php index 1cb38cdc54..1eacbb3e51 100755 --- a/_protected/framework/Security/Version.class.php +++ b/_protected/framework/Security/Version.class.php @@ -54,6 +54,7 @@ public static function getLatestInfo() { foreach($oSoft->getElementsByTagName('social-dating-cms') as $oInfo) { + // "Validate::boll()" returns TRUE for "1", "true", "on" and "yes" $bIsAlert = (new Validate)->bool($oInfo->getElementsByTagName('upd-alert')->item(0)->nodeValue); $sVerName = $oInfo->getElementsByTagName('name')->item(0)->nodeValue; $sVerNumber = $oInfo->getElementsByTagName('version')->item(0)->nodeValue;