mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2024-09-19 19:22:14 +02:00
psalm fix
This commit is contained in:
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…
Reference in New Issue
Block a user