This commit is contained in:
Gerald Raab
2007-11-06 10:28:30 +00:00
parent d5d956c0ac
commit 272f829e0c
2 changed files with 83 additions and 72 deletions
+2
View File
@@ -179,6 +179,8 @@ class studentnote
if($result=pg_query($conn, $qry))
if($row = pg_fetch_object($result))
$punkte_moeglich = $row->punktegesamt_alle;
if ($punkte_moeglich == 0)
$punkte_moeglich = 1;
$punkte_ns = $punkte_gesamt/$punkte_moeglich*100;
}
else