]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-14924 fixed typo - thanks Eloy
authorskodak <skodak>
Sat, 7 Feb 2009 11:49:56 +0000 (11:49 +0000)
committerskodak <skodak>
Sat, 7 Feb 2009 11:49:56 +0000 (11:49 +0000)
install.php

index 992146c94088ed5e0579a8e0752097b206ff0684..8fd14f21e8217d63e4e72fc0e4bf2fa39c6fdf1c 100644 (file)
@@ -45,7 +45,7 @@ $config->lang = $lang;
 
 if (!empty($_POST)) {
     if (install_ini_get_bool('magic_quotes_gpc')) {
-        $_POST = array_map($_POST, 'stripslashes');
+        $_POST = array_map('stripslashes', $_POST);
     }
 
     $config->stage = (int)$_POST['stage'];