set a startup variable. unset it with the first call of the photo index page
[phpfspot.git] / rpc.php
diff --git a/rpc.php b/rpc.php
index 80c80b1c53d9225a0c787a688e5040d449cdee15..9b56c48308967dd85ef41e9256919836e4d6bef6 100644 (file)
--- a/rpc.php
+++ b/rpc.php
@@ -66,8 +66,9 @@ class PHPFSPOT_RPC {
             $fspot->delTag($_GET['id']);
             break;
 
-         case 'resettags':
+         case 'reset':
 
+            $fspot->resetTagSearch();
             $fspot->resetTags();
             break;