// MERGE with 1.4 r7770

This commit is contained in:
rMalie
2011-07-28 09:20:57 +00:00
parent 60b07cacb9
commit c17e7c236d
968 changed files with 26082 additions and 3937 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ class SearchEngineCore extends ObjectModel
if (!isset($parsedUrl['host']) OR !isset($parsedUrl['query']))
return false;
$result = Db::getInstance(_PS_USE_SQL_SLAVE_)->ExecuteS('SELECT `server`, `getvar` FROM `'._DB_PREFIX_.'search_engine`');
foreach ($result as $index => $row)
foreach ($result as $row)
{
$host =& $row['server'];
$varname =& $row['getvar'];