this software does not have any MySQL requirements
[phpfspot.git] / rpc.php
diff --git a/rpc.php b/rpc.php
index 0bdccc9fde733c14972b02f1d8eaab7ab64635cb..b5d5d357f162aa50568d05a84d4bc550077f5cee 100644 (file)
--- a/rpc.php
+++ b/rpc.php
@@ -80,6 +80,7 @@ class PHPFSPOT_RPC {
 
          case 'show_photo_index':
 
+            $_SESSION['begin_with'] = $_GET['begin_with'];
             $fspot->showPhotoIndex();
             break;
    
@@ -93,9 +94,9 @@ class PHPFSPOT_RPC {
             $fspot->showCredits();
             break;
 
-         case 'search':
+         case 'tag_search':
 
-            $fspot->startSearch($_GET['for']);
+            $fspot->startTagSearch($_GET['for']);
             break;
 
       }