diff options
Diffstat (limited to 'phpfspot.class.php')
-rw-r--r-- | phpfspot.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpfspot.class.php b/phpfspot.class.php index e500dbe..e0a87a5 100644 --- a/phpfspot.class.php +++ b/phpfspot.class.php @@ -126,7 +126,7 @@ class PHPFSPOT { $_SESSION['selected_tags'] = $this->extractTags($_GET['tags']); $_SESSION['start_action'] = 'showp'; } - if(isset($_GET['id'])) { + if(isset($_GET['id']) && is_numeric($_GET['id'])) { $_SESSION['current_photo'] = $_GET['id']; $_SESSION['start_action'] = 'showp'; } |