mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-01-27 15:47:13 +00:00
fix: Empty App Links
The return value of the function caused a warning in header.inc.php:42 if no additional links were set. header.inc.php is the only caller of this function, thus it is safe to return an empty array here.
This commit is contained in:
@@ -293,7 +293,7 @@ function customize($_action, $_item, $_data = null) {
|
||||
}
|
||||
|
||||
if (empty($app_links)){
|
||||
return false;
|
||||
return [];
|
||||
}
|
||||
|
||||
// convert from old style
|
||||
|
||||
Reference in New Issue
Block a user