Bugfix count(null) www/pages

This commit is contained in:
Xenomporio
2022-06-10 11:28:28 +02:00
parent 93e7ee4903
commit eaa3b1da75
53 changed files with 409 additions and 409 deletions
+1 -1
View File
@@ -108,7 +108,7 @@ class Databaseviewer {
'SHOW COLUMNS FROM `%s` ', $tableName), 60, 'xcs_column'
);
$html = '';
if(count($tableColumns) > 75) {
if((!empty($tableColumns)?count($tableColumns):0) > 75) {
$html = '<div class="warning">Die Tabellenansicht wurde auf 75 Spalten gek&uuml;rzt</div>';
}
$this->app->YUI->TableSearch('PAGE', 'database_table_view', 'show', '', '', basename(__FILE__), __CLASS__);