From: Alexander Schmidt Date: Thu, 27 Sep 2012 16:33:22 +0000 (+0200) Subject: ... X-Git-Url: https://git.treefish.org/banana.git/commitdiff_plain/da4d58fd2fe170781a7810fb5265b4744ce636ed ... --- diff --git a/summary.php b/summary.php index cfc0565..bd7ac7f 100644 --- a/summary.php +++ b/summary.php @@ -19,7 +19,9 @@ if( isset($SESSIONS) ) { foreach ($SESSIONS as $session) { - if ($session['id'] == $SESSIONS_next) { break; } + if ( isset($SESSIONS_next) ) { + if ($session['id'] == $SESSIONS_next) { break; } + } $exdone = $db->query("SELECT thisdone, manydone FROM workdone WHERE mnumber=" . $mnumber . " AND session=" . $session['id'])->fetch(PDO::FETCH_NUM);