NobGit
public nobgit read

NobMail

Based on mailcow: dockerized

Languages

Repository composition by tracked source files.

PHP
PHP 49% JavaScript 35% HTML 9% CSS 4% Shell 2% Python 1% Lua 0% Perl 0% Ruby 0% SCSS 0%
Create file Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git

Commit

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.

3d5b5788
Paul Sütterlin <[email protected]> 12 months ago
data/web/inc/functions.customize.inc.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Diff

diff --git a/data/web/inc/functions.customize.inc.php b/data/web/inc/functions.customize.inc.php
index 1d19066d..56527ff9 100644
--- a/data/web/inc/functions.customize.inc.php
+++ b/data/web/inc/functions.customize.inc.php
@@ -293,7 +293,7 @@ function customize($_action, $_item, $_data = null) {
           }
 
           if (empty($app_links)){
-            return false;
+            return [];
           }
 
           // convert from old style