diff --git a/phpBB/adm/index.php b/phpBB/adm/index.php index 77433c127a..352795a04b 100644 --- a/phpBB/adm/index.php +++ b/phpBB/adm/index.php @@ -106,6 +106,7 @@ else if (isset($_GET['pane']) && $_GET['pane'] == 'left') @ksort($action_ary); + $row_class = ''; foreach ($action_ary as $action => $file) { if (!empty($file)) diff --git a/phpBB/includes/acm/acm_file.php b/phpBB/includes/acm/acm_file.php index 883878b4b4..dfe31e6cc2 100644 --- a/phpBB/includes/acm/acm_file.php +++ b/phpBB/includes/acm/acm_file.php @@ -129,7 +129,7 @@ class acm $this->load(); } - if ($expire_time > 0) + if ($expire_time > 0 && isset($this->vars_ts[$varname])) { if ($this->vars_ts[$varname] <= time() - $expire_time) { diff --git a/phpBB/includes/functions_admin.php b/phpBB/includes/functions_admin.php index fcc91b814a..01bbd60836 100644 --- a/phpBB/includes/functions_admin.php +++ b/phpBB/includes/functions_admin.php @@ -1689,7 +1689,7 @@ function event_execute($mode) } // Extension of auth class for changing permissions -if (class_exists(auth)) +if (class_exists('auth')) { class auth_admin extends auth { @@ -1957,7 +1957,7 @@ if (class_exists(auth)) } } -if (class_exists(template)) +if (class_exists('template')) { class template_admin extends template {