X-Git-Url: https://git.treefish.org/banana.git/blobdiff_plain/f0f8ed081a8af374676dea9f97b60e336f8b4ae7..da4d58fd2fe170781a7810fb5265b4744ce636ed:/summary.php 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);