maxstd-bug

This commit is contained in:
Gerald Raab
2007-08-20 14:37:57 +00:00
parent 1600ef5810
commit 8c1849f689
@@ -478,7 +478,7 @@ if (!isset($_GET["notenuebersicht"]))
$stud_bsp_obj->beispiel_id = $row->beispiel_id;
$row->check_anzahl_studentbeispiel($row->beispiel_id);
if (($row->anzahl_studentbeispiel >= $ueb_hlp_obj->maxstd) && isset($_POST['problem_'.$row->beispiel_id]))
if (($row->anzahl_studentbeispiel >= $ueb_hlp_obj->maxstd) && isset($_POST['problem_'.$row->beispiel_id]) && $stud_bsp_obj->new)
{
echo "<span class='error'>Beispiel kann nicht mehr angekreuzt werden<br></span>";
$error = true;