This commit is contained in:
Rudolf Hangl
2007-02-08 13:06:19 +00:00
parent 6a33b66fa1
commit cc10431d52
3 changed files with 38 additions and 39 deletions
+5 -1
View File
@@ -152,7 +152,11 @@ class projektarbeit
$this->errormsg = 'Gesamtstunden muß ein numerischer Wert sein - student_uid: '.$this->student_uid;
return false;
}
if(!is_bool($this->freigegeben))
{
$this->errormsg = 'freigegeben ist ungueltig - student_uid: '.$this->student_uid;
return false;
}
$this->errormsg = '';
return true;