code-cleanup to avoid PHP notice messages
[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':