summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2008-05-25 13:32:58 +0200
committerAndreas Unterkircher <unki@netshadow.at>2008-05-25 13:32:58 +0200
commitb03bd4482838de77706e68f1ab3d463d23a55c7f (patch)
treede5003c40ff28ca5f4586b3bac18252d2515ac2c
parent190c8dd8f2ef82917c3febbaa2e7aa09ada5dbb8 (diff)
further fix to suppress a notice warning
Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
-rw-r--r--phpfspot.class.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpfspot.class.php b/phpfspot.class.php
index b3455f0..5a4c26e 100644
--- a/phpfspot.class.php
+++ b/phpfspot.class.php
@@ -351,7 +351,8 @@ class PHPFSPOT {
if(!isset($content)) {
/* if tags are already selected, we can immediately display photo-index */
if((isset($_SESSION['selected_tags']) && !empty($_SESSION['selected_tags']) &&
- $_SESSION['start_action'] != 'showp') || $_SESSION['start_action'] == 'showpi')
+ isset($_SESSION['start_action']) && $_SESSION['start_action'] != 'showp') ||
+ (isset($_SESSION['start_action']) && $_SESSION['start_action'] == 'showpi'))
$this->tmpl->assign('initial_content', $this->showPhotoIndex());
else {
/* if a photo is already selected, we can immediately display single-photo */