diff --git a/framework/library/astroid/Template.php b/framework/library/astroid/Template.php index e6fa667a..ad5c5d50 100644 --- a/framework/library/astroid/Template.php +++ b/framework/library/astroid/Template.php @@ -172,7 +172,6 @@ public function getThemeVariables() $danger = $this->params->get('theme_danger', ''); if (!empty($danger)) { - $variables['danger'] = $variables[$danger]; $variables['danger'] = ($danger == 'custom' ? $this->params->get('theme_danger_custom', $variables['red']) : $variables[$danger]); }