1
0
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:
Cameron
2016-04-13 16:50:07 -07:00
parent dfd9c9e3fc
commit c57fe51ad8
2 changed files with 2 additions and 2 deletions

View File

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

View File

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