From da4d58fd2fe170781a7810fb5265b4744ce636ed Mon Sep 17 00:00:00 2001 From: Alexander Schmidt Date: Thu, 27 Sep 2012 18:33:22 +0200 Subject: [PATCH 1/1] ... --- summary.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); -- 2.39.5