X-Git-Url: http://git.treefish.org/banana.git/blobdiff_plain/719a15658a3577b6682bd8d2f96b66b6d6539bbc..b22b28d88c9f6d951e1008e71843436b7df42b6a:/include/session.inc?ds=inline 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']; } } }