moved tag-search code into general getphotoselection function
[phpfspot.git] / rpc.php
diff --git a/rpc.php b/rpc.php
index ef1be6a42989668cbf5883dd23ffcf3398afca0c..0bdccc9fde733c14972b02f1d8eaab7ab64635cb 100644 (file)
--- a/rpc.php
+++ b/rpc.php
@@ -93,6 +93,11 @@ class PHPFSPOT_RPC {
             $fspot->showCredits();
             break;
 
+         case 'search':
+
+            $fspot->startSearch($_GET['for']);
+            break;
+
       }
 
    } // process_ajax_request();