1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

PHP5.3 compatibility.

git-svn-id: file:///svn/phpbb/trunk@8759 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Marek A. R
2008-08-15 13:00:20 +00:00
parent f741c4ff05
commit 4235be4bcb
6 changed files with 21 additions and 15 deletions

View File

@@ -118,7 +118,7 @@ class acp_ban
/**
* Display ban options
*/
function display_ban_options($mode)
static function display_ban_options($mode)
{
global $user, $db, $template;

View File

@@ -34,6 +34,12 @@ class acp_modules
var $module_class = '';
var $parent_id;
var $u_action;
var $p_master;
function __construct(p_master $p_master)
{
$this->p_master = $p_master;
}
function main($id, $mode)
{
@@ -624,7 +630,7 @@ class acp_modules
if (!$ignore_acl && $row['module_auth'])
{
// We use zero as the forum id to check - global setting.
if (!p_master::module_auth($row['module_auth'], 0))
if (!$this->p_master->module_auth($row['module_auth'], 0))
{
continue;
}