Fix deprecated argument order in calls to implode()

This commit is contained in:
Jeremy Ruten 2020-06-17 11:44:23 -06:00
parent d0c51b3742
commit e90e4716ec
2 changed files with 3 additions and 3 deletions

View file

@ -149,7 +149,7 @@ class CompletionShell extends AppShell {
*/
protected function _output($options = array()) {
if ($options) {
return $this->out(implode($options, ' '));
return $this->out(implode(' ', $options));
}
}
}

View file

@ -609,8 +609,8 @@ class FormHelper extends AppHelper {
ksort($locked, SORT_STRING);
$fields += $locked;
$locked = implode(array_keys($locked), '|');
$unlocked = implode($unlockedFields, '|');
$locked = implode('|', array_keys($locked));
$unlocked = implode('|', $unlockedFields);
$hashParts = array(
$this->_lastAction,
serialize($fields),