summaryrefslogtreecommitdiffstats
path: root/phpfspot.class.php
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2008-05-23 11:03:38 +0200
committerAndreas Unterkircher <unki@netshadow.at>2008-05-23 11:03:38 +0200
commit6a5756a7ced1e064e6d7c3cb8b67723e01951612 (patch)
tree7158d81b7bdbf38772ce0459e8818152356d3327 /phpfspot.class.php
parentf5e9c6d998d5f625b0694db4c7a47f9c63cfdd3a (diff)
issue120, parse_user_friendly_url() did an unwanted session cleanup
Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
Diffstat (limited to 'phpfspot.class.php')
-rw-r--r--phpfspot.class.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/phpfspot.class.php b/phpfspot.class.php
index 9c4321a..54308aa 100644
--- a/phpfspot.class.php
+++ b/phpfspot.class.php
@@ -3112,14 +3112,14 @@ class PHPFSPOT {
{
if(preg_match('/\/photoview\/|\/photo\/|\/tag\//', $request_uri)) {
- unset($_SESSION['start_action']);
- unset($_SESSION['selected_tags']);
-
$options = explode('/', $request_uri);
switch($options[1]) {
case 'photoview':
if(is_numeric($options[2])) {
+ $this->session_cleanup();
+ //unset($_SESSION['start_action']);
+ //unset($_SESSION['selected_tags']);
$_GET['mode'] = 'showp';
return $this->showPhoto($options[2]);
}
@@ -3179,6 +3179,7 @@ class PHPFSPOT {
$this->resetTagSearch();
$this->resetNameSearch();
$this->resetDateSearch();
+ $this->resetTags();
} // session_cleanup()