From: Andreas Unterkircher Date: Sun, 29 Jul 2007 09:17:51 +0000 (+0000) Subject: issue71, tell client to refresh selected-tags-list as tags where provided with the URL X-Git-Tag: phpfspot-1.2~70 X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e785e025945eed31e47c504bb213b4150a755fbf;p=phpfspot.git 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 --- 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";