summaryrefslogtreecommitdiffstats
path: root/phpfspot.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpfspot.class.php')
-rw-r--r--phpfspot.class.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/phpfspot.class.php b/phpfspot.class.php
index e0a87a5..087d82f 100644
--- a/phpfspot.class.php
+++ b/phpfspot.class.php
@@ -1623,9 +1623,8 @@ class PHPFSPOT {
if(isset($_SESSION['current_photo']) && $_SESSION['start_action'] == 'showp') {
return "show_photo";
}
- elseif((isset($_SESSION['selected_tags']) && !empty($_SESSION['selected_tags'])) ||
- (isset($_SESSION['from_date']) && isset($_SESSION['to_date']))) {
- return "showpi";
+ elseif(isset($_SESSION['selected_tags']) && !empty($_SESSION['selected_tags'])) {
+ return "showpi_tags";
}
elseif(isset($_SESSION['start_action']) && $_SESSION['start_action'] == 'showpi') {
return "showpi";