summaryrefslogtreecommitdiffstats
path: root/phpfspot.class.php
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2007-07-29 09:17:51 +0000
committerAndreas Unterkircher <unki@netshadow.at>2007-07-29 09:17:51 +0000
commite785e025945eed31e47c504bb213b4150a755fbf (patch)
tree7fc69c12b17c78474c3a801937f7f513a5af0b27 /phpfspot.class.php
parentf32fe065bf1569d42d4e8921bc0cab0aa98ef782 (diff)
issue71, tell client to refresh selected-tags-list as tags where provided with the URL
git-svn-id: file:///var/lib/svn/phpfspot/trunk@265 fa6a889d-dae6-447d-9e79-4ba9a3039384
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";