From: skodak Date: Sat, 7 Feb 2009 11:49:56 +0000 (+0000) Subject: MDL-14924 fixed typo - thanks Eloy X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=fa53493e48baf25c1e0bfdd73e2c74506843c299;p=moodle.git MDL-14924 fixed typo - thanks Eloy --- diff --git a/install.php b/install.php index 992146c940..8fd14f21e8 100644 --- a/install.php +++ b/install.php @@ -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'];