on reset also reset tag search result
[phpfspot.git] / phpfspot.class.php
index 13517f2550e14444e209e05a7b795c291cf1731b..89cf0b8bfe56b92f6235fcaebe727d9e3b46c5e8 100644 (file)
@@ -281,6 +281,12 @@ class PHPFSPOT {
 
    } // resetTags()
 
+   public function resetTagSearch()
+   {
+      unset($_SESSION['searchfor']);
+
+   } // resetTagSearch()
+
    public function getPhotoSelection()
    {  
       $tagged_photos = Array();