Skip to content

Commit 013ed34

Browse files
committed
fix(backend): handle undefined array key name
1 parent 5d427ae commit 013ed34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/core/hm-mailbox.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public function get_folder_name($folder) {
130130
$this->connect();
131131
}
132132
$result = $this->connection->get_folder_status($folder);
133-
return $result['name'];
133+
return $result['name'] ?? null;
134134
}
135135
}
136136
}

0 commit comments

Comments
 (0)