diff options
author | Ludovic Arnaud <ludovic_arnaud@users.sourceforge.net> | 2003-04-24 18:24:53 +0000 |
---|---|---|
committer | Ludovic Arnaud <ludovic_arnaud@users.sourceforge.net> | 2003-04-24 18:24:53 +0000 |
commit | 42ee5e7a54edb3f25d035da187637eb3ba52db1e (patch) | |
tree | c918df0a7fee632b3a87f022e12eb040d03e3d45 | |
parent | 5f58f0ff71184e9de523cb9bee6c19a654f246c9 (diff) | |
download | forums-42ee5e7a54edb3f25d035da187637eb3ba52db1e.tar forums-42ee5e7a54edb3f25d035da187637eb3ba52db1e.tar.gz forums-42ee5e7a54edb3f25d035da187637eb3ba52db1e.tar.bz2 forums-42ee5e7a54edb3f25d035da187637eb3ba52db1e.tar.xz forums-42ee5e7a54edb3f25d035da187637eb3ba52db1e.zip |
No functional changes, will only produce less PHP notices/warnings.
git-svn-id: file:///svn/phpbb/trunk@3949 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r-- | phpBB/adm/index.php | 1 | ||||
-rw-r--r-- | phpBB/includes/acm/acm_file.php | 2 | ||||
-rw-r--r-- | phpBB/includes/functions_admin.php | 4 |
3 files changed, 4 insertions, 3 deletions
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 { |