Skip to content

Commit

Permalink
Add useful comment for the "yes" in software-info.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
pH-7 committed Mar 9, 2016
1 parent 82201f0 commit f7b1a1c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions _protected/framework/Security/Version.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f7b1a1c

Please sign in to comment.