From 222ededb710ce98e91eb55da7d1d8dff3bbb0599 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 17 Jun 2011 18:44:08 +0000 Subject: [PATCH] Fix: BUG#33584 --- htdocs/lib/admin.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/lib/admin.lib.php b/htdocs/lib/admin.lib.php index e45ceca1dbc..9d3068866f5 100644 --- a/htdocs/lib/admin.lib.php +++ b/htdocs/lib/admin.lib.php @@ -144,7 +144,7 @@ function run_sql($sqlfile,$silent=1,$entity='',$usesavepoint=1,$handler='') // Add line buf to buffer if not a comment if (! preg_match('/^--/',$buf)) { - $buf=preg_repalce('/--.*$/','',$buf); //remove comment from a line that not start with -- before add it to the buffer + $buf=preg_replace('/--.*$/','',$buf); //remove comment from a line that not start with -- before add it to the buffer $buffer .= trim($buf); }