summaryrefslogtreecommitdiffstats
path: root/lib/class/api.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/class/api.class.php')
-rw-r--r--lib/class/api.class.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/class/api.class.php b/lib/class/api.class.php
index 631308eb..91433437 100644
--- a/lib/class/api.class.php
+++ b/lib/class/api.class.php
@@ -581,6 +581,7 @@ class Api {
* This searches the songs and returns... songs
*/
public static function search_songs($input) {
+ $array['type'] = 'song';
$array['rule_1'] = 'anywhere';
$array['rule_1_input'] = $input['filter'];
$array['rule_1_operator'] = 0;