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:
Marc Delisle 2013-02-21 10:09:49 -08:00
commit b84ec72145

View File

@ -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