summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdocs/CHANGELOG1
-rw-r--r--lib/class/search.class.php2
2 files changed, 2 insertions, 1 deletions
diff --git a/docs/CHANGELOG b/docs/CHANGELOG
index a0c79971..aac78124 100755
--- a/docs/CHANGELOG
+++ b/docs/CHANGELOG
@@ -4,6 +4,7 @@
--------------------------------------------------------------------------
v.3.6-Alpha2
+ - Fixed video searches (reported by mchugh19)
- Fixed Database Upgrade issue that caused catalog user/pass for
remote catalogs to not be added correctly
- Added the ability to locally cache passwords validated by external
diff --git a/lib/class/search.class.php b/lib/class/search.class.php
index cdb9422e..e5b9386b 100644
--- a/lib/class/search.class.php
+++ b/lib/class/search.class.php
@@ -1033,7 +1033,7 @@ class Search extends playlist_object {
} // switch on ruletype
} // foreach rule
- $where_sql = explode(" $sql_logic_operator ", $where);
+ $where_sql = implode(" $sql_logic_operator ", $where);
return array(
'base' => 'SELECT DISTINCT(`video`.`id`) FROM `video`',