ChangeSet ID: 24435 CVSROOT: /opt/cvs-commit Module name: appdb Changes by: wineowner(a)winehq.org 2006/04/26 10:11:00 Modified files: include : version.php Log message: Tony Lambregts <tony.lambregts(a)gmail.com> Fix the display-approved_versions() function by switching the use of a '=' in an if() to a '==' Patch: http://cvs.winehq.org/patch.py?id=24435 Old revision New revision Changes Path 1.50 1.51 +1 -1 appdb/include/version.php Index: appdb/include/version.php diff -u -p appdb/include/version.php:1.50 appdb/include/version.php:1.51 --- appdb/include/version.php:1.50 26 Apr 2006 15:11: 0 -0000 +++ appdb/include/version.php 26 Apr 2006 15:11: 0 -0000 @@ -898,7 +898,7 @@ function display_approved_versions($aVer foreach($aVersionsIds as $iVersionId) { $oVersion = new Version($iVersionId); - if ($oVersion->sQueued = 'false') + if ($oVersion->sQueued == 'false') { // set row color $bgcolor = ($c % 2 == 0) ? "color0" : "color1";