From a4972bb338f06c6b7fbeea22869b3c3b106becf7 Mon Sep 17 00:00:00 2001 From: Carlo Date: Tue, 15 Jul 2014 19:21:41 +0200 Subject: [ticket/12685] Replace getParameterOption with hasParameterOption PHPBB3-12685 --- phpBB/bin/phpbbcli.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB') diff --git a/phpBB/bin/phpbbcli.php b/phpBB/bin/phpbbcli.php index 511eca9082..d86ec6d8f8 100755 --- a/phpBB/bin/phpbbcli.php +++ b/phpBB/bin/phpbbcli.php @@ -45,7 +45,7 @@ $phpbb_container_builder->set_dump_container(false); $input = new ArgvInput(); -if ($input->getParameterOption(array('--safe-mode'))) +if ($input->hasParameterOption(array('--safe-mode'))) { $phpbb_container_builder->set_use_extensions(false); $phpbb_container_builder->set_dump_container(false); -- cgit v1.2.1