From 1fd1a41541227650ade33755d46d5c17e0c5e48a Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Sun, 26 May 2013 09:52:34 -0400 Subject: Add unset() statement to help for future refactoring --- tbl_export.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tbl_export.php') diff --git a/tbl_export.php b/tbl_export.php index a89217dd32..fbc585c6e9 100644 --- a/tbl_export.php +++ b/tbl_export.php @@ -46,6 +46,7 @@ if (! empty($sql_query)) { $first_occurring_regex = PMA_getFirstOccurringRegularExpression( $regex_array, $sql_query ); + unset($regex_array); // The part "SELECT `id`, `name` FROM `customers`" // is not modified by the next code segment, when exporting @@ -56,6 +57,7 @@ if (! empty($sql_query)) { $temp_sql_array = preg_split($first_occurring_regex, $sql_query); $sql_query = $temp_sql_array[0]; } + unset($first_occurring_regex, $temp_sql_array); // Append the where clause using the primary key of each row if (is_array($where_clause) && (count($where_clause) > 0)) { -- cgit v1.2.3