X-Git-Url: http://git.treefish.org/banana.git/blobdiff_plain/719a15658a3577b6682bd8d2f96b66b6d6539bbc..a4f105d41d06053ff3a7b52572bd818b1a027149:/include/session.inc?ds=sidebyside diff --git a/include/session.inc b/include/session.inc index dc90943..288c798 100644 --- a/include/session.inc +++ b/include/session.inc @@ -26,6 +26,7 @@ if(isset($SESSIONS)) { foreach ($SESSIONS as $session) { if($session['id'] < $SESSIONS_next || (! isset($SESSIONS_next)) ) { $SESSIONS_totex += $session['nexamples']; } + if( $session['id'] != $SESSIONS_actual ) { $SESSIONS_last = $session['id']; } } }