mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 13:58:54 +00:00
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:
parent
5f58f0ff71
commit
42ee5e7a54
3 changed files with 4 additions and 3 deletions
|
@ -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))
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue