From: Andreas Unterkircher Date: Tue, 17 Jul 2007 04:16:10 +0000 (+0000) Subject: issue51, first fix for external link to a photo X-Git-Tag: phpfspot-1.2~119 X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87148067c543f8d0af056fdef437f18d72e50c9d;p=phpfspot.git issue51, first fix for external link to a photo git-svn-id: file:///var/lib/svn/phpfspot/trunk@216 fa6a889d-dae6-447d-9e79-4ba9a3039384 --- 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') {