diff --git a/strip_manager.php b/strip_manager.php index 27b35a2..4f97b4a 100644 --- a/strip_manager.php +++ b/strip_manager.php @@ -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 {