1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-08 15:47:00 +02:00

Do not append empty values

This commit is contained in:
Jakub Vrana
2018-02-09 13:48:50 +01:00
parent ffb4ee3a61
commit fad20d1065

View File

@@ -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;