Merge pull request #176 from hisamith/master
Fixed #3830 Can't export custom query because it lowercases table names - Latestgit
This commit is contained in:
commit
b84ec72145
@ -37,7 +37,7 @@ if (! empty($sql_query)) {
|
||||
// Need to generate WHERE clause?
|
||||
if (isset($where_clause)) {
|
||||
|
||||
$temp_sql_array = explode("where", strtolower($sql_query));
|
||||
$temp_sql_array = preg_split("/\bwhere\b/i", $sql_query);
|
||||
|
||||
// The part "SELECT `id`, `name` FROM `customers`"
|
||||
// is not modified by the next code segment, when exporting
|
||||
|
||||
Loading…
Reference in New Issue
Block a user