aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/admin/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/admin/index.php')
-rw-r--r--phpBB/admin/index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/admin/index.php b/phpBB/admin/index.php
index 06a9b5b0db..7efc277271 100644
--- a/phpBB/admin/index.php
+++ b/phpBB/admin/index.php
@@ -67,7 +67,7 @@ if( $HTTP_GET_VARS['pane'] == 'left' )
while( list($cat, $action_array) = each($module) )
{
- $cat = $lang[$cat];
+ $cat = ( !empty($lang[$cat]) ) ? $lang[$cat] : preg_replace("/_/", " ", $cat);
$template->assign_block_vars("catrow", array(
"ADMIN_CATEGORY" => $cat)
@@ -81,7 +81,7 @@ if( $HTTP_GET_VARS['pane'] == 'left' )
$row_color = ( !($row_count%2) ) ? $theme['td_color1'] : $theme['td_color2'];
$row_class = ( !($row_count%2) ) ? $theme['td_class1'] : $theme['td_class2'];
- $action = $lang[$action];
+ $action = ( !empty($lang[$action]) ) ? $lang[$action] : preg_replace("/_/", " ", $action);
$template->assign_block_vars("catrow.modulerow", array(
"ROW_COLOR" => "#" . $row_color,