psalm fix

pull/348/head
David Goodwin 4 years ago
parent f8415eef2a
commit e4158d6d7e

@ -309,11 +309,10 @@ class AliasHandler extends PFAHandler {
}
protected function read_from_db_postprocess($db_result) {
foreach ($db_result as $key => $value) {
# split comma-separated 'goto' into an array
$goto = $db_result[$key]['goto'] ?? null;
if(is_string($goto)) {
if (is_string($goto)) {
$db_result[$key]['goto'] = explode(',', $goto);
}

Loading…
Cancel
Save