diff options
author | Marc Delisle <marc@infomarc.info> | 2013-05-26 17:36:17 +0400 |
---|---|---|
committer | Marc Delisle <marc@infomarc.info> | 2013-05-26 17:36:17 +0400 |
commit | efbe4874689eb72efdb7db0ca3c325f6abd15c0e (patch) | |
tree | eaf978a84544f958afc8b329bf5ed11e384f09fa /tbl_export.php | |
parent | df37fd140f7d0efbcbf19af19380b3a453873d91 (diff) |
Fix typos
Diffstat (limited to 'tbl_export.php')
-rw-r--r-- | tbl_export.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tbl_export.php b/tbl_export.php index aa4880b9e0..a89217dd32 100644 --- a/tbl_export.php +++ b/tbl_export.php @@ -43,7 +43,7 @@ if (! empty($sql_query)) { '/\bwhere\b/i', '/\bgroup by\b/i', '/\bhaving\b/i', '/\border by\b/i' ); - $first_occuring_regex = PMA_getFirstOccuringRegularExpression( + $first_occurring_regex = PMA_getFirstOccurringRegularExpression( $regex_array, $sql_query ); @@ -52,8 +52,8 @@ if (! empty($sql_query)) { // the result set from a query such as // "SELECT `id`, `name` FROM `customers` WHERE id NOT IN // ( SELECT id FROM companies WHERE name LIKE '%u%')" - if (! is_null($first_occuring_regex)) { - $temp_sql_array = preg_split($first_occuring_regex, $sql_query); + if (! is_null($first_occurring_regex)) { + $temp_sql_array = preg_split($first_occurring_regex, $sql_query); $sql_query = $temp_sql_array[0]; } |