// Fix notifications

This commit is contained in:
Jerome Nadaud
2013-10-10 11:02:33 +02:00
parent 79b0a571c0
commit 067c78f868
3 changed files with 17 additions and 32 deletions
+1 -1
View File
@@ -1503,7 +1503,7 @@ class AdminControllerCore extends Controller
/* Hooks are volontary out the initialize array (need those variables already assigned) */
$bo_color = empty($this->context->employee->bo_color) ? '#FFFFFF' : $this->context->employee->bo_color;
$this->context->smarty->assign(array(
'autorefresh_notifications' => Configuration::get('PS_ADMIN_REFRESH_NOTIFICATION'),
'autorefresh_notifications' => Configuration::get('PS_ADMINREFRESH_NOTIFICATION'),
'help_box' => Configuration::get('PS_HELPBOX'),
'round_mode' => Configuration::get('PS_PRICE_ROUND_MODE'),
'brightness' => Tools::getBrightness($bo_color) < 128 ? 'white' : '#383838',