From ca3fe67e49c1b69ad8c9127620a6968cfb3e17f9 Mon Sep 17 00:00:00 2001 From: Paul Arthur Date: Mon, 28 Nov 2011 13:35:24 -0500 Subject: FS#201 - Video files broken in search Video searching was trying to use explode instead of implode. That won't work. --- docs/CHANGELOG | 1 + lib/class/search.class.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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`', -- cgit