No functional changes, will only produce less PHP notices/warnings.

git-svn-id: file:///svn/phpbb/trunk@3949 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Ludovic Arnaud 2003-04-24 18:24:53 +00:00
parent 5f58f0ff71
commit 42ee5e7a54
3 changed files with 4 additions and 3 deletions

View file

@ -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))

View file

@ -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)
{

View file

@ -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
{