Let application::getVersions() optionally return only accepted versions

This commit is contained in:
Alexander Nicolaysen Sørnes
2008-07-14 14:33:18 +02:00
committed by Chris Morgan
parent 7be5d6bd34
commit 64f3219c94
3 changed files with 15 additions and 15 deletions

View File

@@ -687,7 +687,7 @@ class version {
echo "<input type=\"hidden\" name=\"iObsoleteBy\" value=\"".
$oVersionInDB->iObsoleteBy."\" type=\"hidden\" >\n";
} else if(sizeof($oApp->getVersions(FALSE)) > 1)
} else if(sizeof($oApp->getVersions(TRUE, FALSE)) > 1)
{
if($this->iObsoleteBy)
$sObsolete = "checked=\"checked\"";