Merge branch 'MAINT_3_5_3' into QA_3_5

This commit is contained in:
Chanaka Indrajith 2012-10-31 23:45:08 +05:30
commit 6fd29116ae

View File

@ -39,10 +39,10 @@ if (! empty($sql_query)) {
$temp_sql_array = explode("where", strtolower($sql_query));
// The fields which is going to select will remain
// as it is regardless of the where clause.
// as it is regardless of the where clause(s).
// EX :- The part "SELECT `id`, `name` FROM `customers`"
// will remain same when representing the resulted rows
// from the following query
// from the following query,
// "SELECT `id`, `name` FROM `customers` WHERE id NOT IN
// ( SELECT id FROM companies WHERE name LIKE '%u%')"
$sql_query = $temp_sql_array[0];