summaryrefslogtreecommitdiffstats
path: root/phpfspot.class.php
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2007-07-17 04:16:10 +0000
committerAndreas Unterkircher <unki@netshadow.at>2007-07-17 04:16:10 +0000
commit87148067c543f8d0af056fdef437f18d72e50c9d (patch)
treeab11ea7cee63345dc08a6695109300d64934d42f /phpfspot.class.php
parentd999f86819efb4d2e876a7d690a1306f6bc118fa (diff)
issue51, first fix for external link to a photo
git-svn-id: file:///var/lib/svn/phpfspot/trunk@216 fa6a889d-dae6-447d-9e79-4ba9a3039384
Diffstat (limited to 'phpfspot.class.php')
-rw-r--r--phpfspot.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpfspot.class.php b/phpfspot.class.php
index fc11611..0113fe6 100644
--- a/phpfspot.class.php
+++ b/phpfspot.class.php
@@ -1575,7 +1575,7 @@ class PHPFSPOT {
elseif(isset($_SESSION['from_date']) && isset($_SESSION['to_date'])) {
return "showpi_date";
}
- elseif(isset($_SESSION['current_photo'])) {
+ elseif(isset($_SESSION['current_photo']) && $_SESSION['start_action'] == 'showp') {
return "show_photo";
}
elseif(isset($_SESSION['start_action']) && $_SESSION['start_action'] == 'showpi') {