mirror of
https://github.com/e107inc/e107.git
synced 2025-08-12 01:25:01 +02:00
Fixes #1530 - PHP Warning in debug mode.
This commit is contained in:
@@ -26,7 +26,7 @@ class pm_shortcodes extends e_shortcode
|
||||
include_lan(e_PLUGIN.'pm/languages/'.e_LANGUAGE.'.php');
|
||||
require_once(e_PLUGIN."pm/pm_func.php");
|
||||
|
||||
$this->pm = new pmbox_manager;
|
||||
$this->pm = new pmbox_manager();
|
||||
|
||||
$this->prefs = $this->pm->prefs();
|
||||
|
||||
|
@@ -17,7 +17,7 @@ class pmbox_manager
|
||||
protected $pmPrefs = array();
|
||||
protected $pmDB;
|
||||
|
||||
public function __construct($prefs)
|
||||
public function __construct($prefs='')
|
||||
{
|
||||
$this->pmDB = e107::getDb();
|
||||
// $this->pmPrefs = $prefs;
|
||||
|
Reference in New Issue
Block a user