NOISSUE, trivial code change

This commit is contained in:
ngleader 2013-11-25 21:26:40 +09:00
parent f8af9ef6ce
commit 34c7b68c89
7 changed files with 8 additions and 13 deletions

View file

@ -10,7 +10,7 @@ if(!defined('__XE__'))
* @brief Counter add-on
*/
// Execute if called_position is before_display_content
if(Context::isInstalled() && $called_position == 'before_module_init' && Context::get('module') != 'admin' && Context::getResponseMethod() == 'HTML')
if($called_position == 'before_module_init' && Context::get('module') != 'admin' && Context::getResponseMethod() == 'HTML' && Context::isInstalled())
{
$oCounterController = getController('counter');
$oCounterController->counterExecute();