fixed bug in mehtod to check rules

This commit is contained in:
Stefan Puraner
2016-08-09 11:45:04 +02:00
parent b75a82a4fa
commit 6bee671674
+1 -1
View File
@@ -778,7 +778,7 @@ class lvregel extends basis_db
$lv->load($stpllv->lehrveranstaltung_id);
$this->debug('Abgeschlossen:'.$retval.' ECTS:'.$ects,1);
if($ects>=$lv->ects)
if($retval && ($ects>=$lv->ects))
return true;
else
return false;