mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-18 23:42:17 +00:00
BugFix
This commit is contained in:
@@ -11,12 +11,11 @@ class MessageLib
|
||||
{
|
||||
private $recipients = array();
|
||||
|
||||
public function __construct($params)
|
||||
public function __construct($params = null)
|
||||
{
|
||||
$this->ci =& get_instance();
|
||||
$this->ci->config->load('message');
|
||||
|
||||
//$this->ci->load->model('person/Person_model', 'PersonModel');
|
||||
$this->ci->load->model('system/Message_model', 'MessageModel');
|
||||
if (is_array($params) && isset($params['uid']))
|
||||
{
|
||||
|
||||
@@ -10,8 +10,7 @@ class Message_model extends DB_Model
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
require_once APPPATH.'config/message.php';
|
||||
//$this->lang->load('message');
|
||||
//require_once APPPATH.'config/message.php';
|
||||
$this->dbTable = 'public.tbl_msg_message';
|
||||
$this->pk = 'message_id';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user