only show preview icon in photo index when use_lightbox is set in the config
[phpfspot.git] / rpc.php
diff --git a/rpc.php b/rpc.php
index ad80ca5eedcf2d4f7d8a66aab20b4e2c5315b858..f850dad42e8d61306861f85639965bfe274b0942 100644 (file)
--- a/rpc.php
+++ b/rpc.php
@@ -110,7 +110,7 @@ class PHPFSPOT_RPC {
             break;
 
          case 'search':
-            print $fspot->startSearch($_GET['for']);
+            print $fspot->startSearch();
             break;
 
          case 'update_sort_order':