From: Jakub Vrana Date: Fri, 9 Feb 2018 12:48:50 +0000 (+0100) Subject: Do not append empty values X-Git-Tag: v4.6.2~44 X-Git-Url: https://git.joonet.de/?a=commitdiff_plain;h=fad20d1065d3e724efd2dd76ccdb52a84c7d9f39;p=adminer.git Do not append empty values --- diff --git a/plugins/plugin.php b/plugins/plugin.php index c910edb6..e7b1df14 100644 --- a/plugins/plugin.php +++ b/plugins/plugin.php @@ -62,7 +62,10 @@ class AdminerPlugin extends Adminer { $return = $this->_callParent($function, $args); foreach ($this->plugins as $plugin) { if (method_exists($plugin, $function)) { - $return += call_user_func_array(array($plugin, $function), $args); + $value = call_user_func_array(array($plugin, $function), $args); + if ($value) { + $return += $value; + } } } return $return;