Skip to content

Commit

Permalink
Merge pull request #14155 from seamuslee001/php_7_2_bin_cli_class
Browse files Browse the repository at this point in the history
dev/core#907 Fix Deprecation notice for PHP7.2 in bin/cli.class.php
  • Loading branch information
eileenmcnaughton authored Apr 30, 2019
2 parents d3fb65a + 94b8a9c commit dab9c39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/cli.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ private function _parseOptions() {
// of this script
array_shift($args);

while (list($k, $arg) = each($args)) {
foreach ($args as $k => $arg) {
// sanitize all user input
$arg = $this->_sanitize($arg);

Expand Down

0 comments on commit dab9c39

Please sign in to comment.