diff --git a/libraries/export/php_array.php b/libraries/export/php_array.php index d33e1e9e6..32498d5dd 100644 --- a/libraries/export/php_array.php +++ b/libraries/export/php_array.php @@ -3,7 +3,7 @@ * Set of functions used to build dumps of tables as PHP Arrays * * @author Geoffray Warnants - * @version 0.1b (20090610) + * @version 0.2b (20090704) */ if (! defined('PHPMYADMIN')) { exit; @@ -70,7 +70,7 @@ function PMA_exportHeader() . '/**'.$GLOBALS['crlf'] . ' * Export to PHP Array plugin for PHPMyAdmin'.$GLOBALS['crlf'] . ' * @author Geoffray Warnants'.$GLOBALS['crlf'] - . ' * @version 1.0'.$GLOBALS['crlf'] + . ' * @version 0.2b'.$GLOBALS['crlf'] . ' */'.$GLOBALS['crlf'].$GLOBALS['crlf'] ); return true; @@ -159,10 +159,7 @@ function PMA_exportData($db, $table, $crlf, $error_url, $sql_query) for ($i = 0; $i < $columns_cnt; $i++) { - if (! isset($record[$i])) { - continue; - } - + $isLastLine = ($i+1 >= $columns_cnt); $column = $columns[$i];