From 412be337a77bde56c3c78e182a97ed0d8a43daba Mon Sep 17 00:00:00 2001 From: Abdulrahman Date: Sun, 26 May 2019 00:43:03 +0300 Subject: [PATCH] fixes --- admin/Masmak/admin_ban.html | 2 +- admin/Masmak/admin_reports.html | 4 ++-- admin/Masmak/admin_users.html | 4 ++++ admin/index.php | 2 +- includes/functions_display.php | 5 ++++- 5 files changed, 12 insertions(+), 5 deletions(-) diff --git a/admin/Masmak/admin_ban.html b/admin/Masmak/admin_ban.html index f512290..d049066 100755 --- a/admin/Masmak/admin_ban.html +++ b/admin/Masmak/admin_ban.html @@ -75,7 +75,7 @@ @@ -178,6 +180,7 @@ + + diff --git a/admin/index.php b/admin/index.php index 69c2e50..e884ede 100755 --- a/admin/index.php +++ b/admin/index.php @@ -427,7 +427,7 @@ if (isset($go_menu)) foreach ($go_menu as $m=>$d) { $go_menu_html .= '
  • ' . - '' . + '' . $d['name'] . '
  • '; } } diff --git a/includes/functions_display.php b/includes/functions_display.php index 422c3a4..843ddf9 100755 --- a/includes/functions_display.php +++ b/includes/functions_display.php @@ -680,7 +680,10 @@ function kleeja_style_info($style_name) } else { - $inf_r[$t[0]] = $t[1]; + if (! empty($t[0])) + { + $inf_r[$t[0]] = empty($t[1]) ? '' : $t[1]; + } } }