projects
/
phpfspot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f6d907
)
issue60, make sure provided photo id is numeric
author
Andreas Unterkircher
<unki@netshadow.at>
Sun, 29 Jul 2007 09:11:54 +0000
(09:11 +0000)
committer
Andreas Unterkircher
<unki@netshadow.at>
Sun, 29 Jul 2007 09:11:54 +0000
(09:11 +0000)
git-svn-id: file:///var/lib/svn/phpfspot/trunk@264
fa6a889d
-dae6-447d-9e79-
4ba9a3039384
phpfspot.class.php
patch
|
blob
|
history
diff --git
a/phpfspot.class.php
b/phpfspot.class.php
index e500dbe41c09dd427ca872202c51a672f4ea8adb..e0a87a567e184ac83174bc222eee0745dc4ddc61 100644
(file)
--- 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';
}