mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 19:21:40 +09:00
fixed a bug related message module
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9627 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
b63411093e
commit
05b2472288
1 changed files with 1 additions and 2 deletions
|
|
@ -33,7 +33,6 @@
|
|||
$this->act = Context::get('act');
|
||||
return;
|
||||
}
|
||||
|
||||
// Set variables from request arguments
|
||||
$this->module = $module?$module:Context::get('module');
|
||||
$this->act = $act?$act:Context::get('act');
|
||||
|
|
@ -347,7 +346,7 @@
|
|||
$grant = $oModuleModel->getGrant($this->module_info, $logged_info);
|
||||
if(!$grant->is_admin && !$grant->manager) {
|
||||
$this->error = 'msg_is_not_manager';
|
||||
$oMessageObject = &ModuleHandler::getModuleInstance('message',$type);
|
||||
$oMessageObject = &ModuleHandler::getModuleInstance('message','view');
|
||||
$oMessageObject->setError(-1);
|
||||
$oMessageObject->setMessage($this->error);
|
||||
$oMessageObject->dispMessage();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue