X-Git-Url: https://git.treefish.org/banana.git/blobdiff_plain/f0f8ed081a8af374676dea9f97b60e336f8b4ae7..98bd1a7add3a56c08fb03293824e392b6d871613:/summary.php?ds=inline 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);