summaryrefslogtreecommitdiffstats
path: root/phpfspot.class.php
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2007-06-30 07:59:38 +0000
committerAndreas Unterkircher <unki@netshadow.at>2007-06-30 07:59:38 +0000
commit6f67421bdbf2c4c92600e1553e855244bdb71ccf (patch)
tree829daef926befe1368d216525c9e677d3abcd180 /phpfspot.class.php
parent91120e6ad96ed11c65375ad027459db36b7fb979 (diff)
on reset also reset tag search result
git-svn-id: file:///var/lib/svn/phpfspot/trunk@139 fa6a889d-dae6-447d-9e79-4ba9a3039384
Diffstat (limited to 'phpfspot.class.php')
-rw-r--r--phpfspot.class.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/phpfspot.class.php b/phpfspot.class.php
index 13517f2..89cf0b8 100644
--- a/phpfspot.class.php
+++ b/phpfspot.class.php
@@ -281,6 +281,12 @@ class PHPFSPOT {
} // resetTags()
+ public function resetTagSearch()
+ {
+ unset($_SESSION['searchfor']);
+
+ } // resetTagSearch()
+
public function getPhotoSelection()
{
$tagged_photos = Array();