bug #1902085 : le premier strip est désormais accessible

This commit is contained in:
Leblanc Simon 2008-03-21 16:51:00 +00:00
commit 65419836e7

View file

@ -293,7 +293,7 @@ class strip_manager
$element_asked = -1;
// If one ask for a particular strip
if( !isset($_GET['strip']) || empty($_GET['strip'])) {
if( !isset($_GET['strip']) || $_GET['strip'] == '' || !is_numeric($_GET['strip']) ) {
$element_asked = $this->strips_count-1;
} else {