From 641fa537897d7692fcbee7beb7a8c86b38d74f5c Mon Sep 17 00:00:00 2001 From: Viduranga Wijesooriya Date: Tue, 4 Feb 2014 19:03:46 +0530 Subject: [PATCH] fixed #4261 Export bug Signed-off-by: Viduranga Wijesooriya --- libraries/plugins/export/ExportSql.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/plugins/export/ExportSql.class.php b/libraries/plugins/export/ExportSql.class.php index 584ff520c1..b3d929da99 100644 --- a/libraries/plugins/export/ExportSql.class.php +++ b/libraries/plugins/export/ExportSql.class.php @@ -1332,7 +1332,7 @@ class ExportSql extends ExportPlugin for ($k = 0; $k < $sql_count; $k++) { if (preg_match( - '@[\s]+(AUTO_INCREMENT,)@', + '@[\s]+(AUTO_INCREMENT )@', $sql_lines[$k] )) { //removes extra space at the beginning, if there is