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

@@ -165,7 +165,7 @@ if($aClean['iVersionId'] && $_SESSION['current']->isLoggedIn())
echo html_frame_start("Upload Screenshot", "30%");
echo 'If you would like to submit screenshots, please select an application version below.<br>';
echo '<ul>';
foreach($oApp->getVersions() as $oVersion)
foreach($oApp->getVersions(true) as $oVersion)
echo '<li><a href="'.BASE.'screenshots.php?iVersionId='.$oVersion->objectGetId().'">'.$oVersion->sName.'</a></li>';
echo '</ul>';