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