Skip to content

Commit

Permalink
Fixed checking permission
Browse files Browse the repository at this point in the history
  • Loading branch information
TomaszQr committed Oct 10, 2016
1 parent eaf63d2 commit 75317e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion plugins/yetiforce/yetiforce.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function init()
if ($this->rc->action == 'compose') {
$composeAddressModules = [];
foreach (AppConfig::module('Email', 'RC_COMPOSE_ADDRESS_MODULES') as $moduleName) {
if (\includes\Privileges::isPermitted($moduleName)) {
if (\App\Privilege::isPermitted($moduleName)) {
$composeAddressModules[$moduleName] = \includes\Language::translate($moduleName, $moduleName);
}
}
Expand Down
4 changes: 2 additions & 2 deletions version.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
return [
'patch' => '2016.10.06',
'version' => '0.0.1'
'patch' => '2016.10.10',
'version' => '0.0.2'
];

0 comments on commit 75317e6

Please sign in to comment.