check for existing fields when setting/updating tablelisting-columns

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2023-02-14 11:36:11 +01:00
parent 89843d6f37
commit 4003a8d2b6
6 changed files with 37 additions and 7 deletions

View File

@@ -27,6 +27,9 @@ use Froxlor\UI\Callbacks\Ftp;
use Froxlor\UI\Callbacks\Text;
use Froxlor\UI\Listing;
// used outside scope variables
$cperlenabled = $cperlenabled ?? false;
return [
'htaccess_list' => [
'title' => lng('menue.extras.pathoptions'),

View File

@@ -27,6 +27,9 @@ use Froxlor\UI\Callbacks\Mysql;
use Froxlor\UI\Callbacks\Text;
use Froxlor\UI\Listing;
// used outside scope variables
$multiple_mysqlservers = $multiple_mysqlservers ?? false;
return [
'mysql_list' => [
'title' => lng('menue.mysql.databases'),