From 4afaca12dc55b076293e9ef8ac28332d22730df0 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Sat, 14 Oct 2006 14:56:46 +0000 Subject: - store sql_layer directly within the layer itself - new method sql_multi_insert to circumvent db-specific hacks (hopefully not introduced any parsing errors) git-svn-id: file:///svn/phpbb/trunk@6497 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/search.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/search.php') diff --git a/phpBB/search.php b/phpBB/search.php index 79a3fb4565..73c363bcc6 100644 --- a/phpBB/search.php +++ b/phpBB/search.php @@ -970,7 +970,7 @@ $template->assign_vars(array( ); // Can't do comparisons w/ TEXT on MSSQL, CAST is good enough -switch (SQL_LAYER) +switch ($db->sql_layer) { case 'mssql': case 'mssql_odbc': -- cgit v1.2.1