Skip to content

Commit

Permalink
[message] fix xoopscube#103 fatal error in block execute()
Browse files Browse the repository at this point in the history
  • Loading branch information
nao-pon committed May 27, 2014
1 parent 0250fd5 commit 94a3cdd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions html/modules/message/blocks/message_block.class.php
Expand Up @@ -29,6 +29,7 @@ public function isDisplay()

public function execute()
{
if (!$this->isDisplay()) return;
$root = XCube_Root::getSingleton();
$root->mLanguageManager->loadModinfoMessageCatalog(basename(dirname(dirname(__FILE__))));
$root->mLanguageManager->loadModuleMessageCatalog(basename(dirname(dirname(__FILE__))));
Expand Down

0 comments on commit 94a3cdd

Please sign in to comment.