From d0ffb58efbf7a6ca3d8d2d02e3cbeb05104eafe8 Mon Sep 17 00:00:00 2001 From: Angel Guevara Date: Tue, 1 Dec 2015 07:34:40 -0600 Subject: [PATCH] syntax error --- framework/helpers/BaseHtml.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/helpers/BaseHtml.php b/framework/helpers/BaseHtml.php index 132a09228d..29292559aa 100644 --- a/framework/helpers/BaseHtml.php +++ b/framework/helpers/BaseHtml.php @@ -1114,7 +1114,7 @@ class BaseHtml public static function activeHint($model, $attribute, $options = []) { $attribute = static::getAttributeName($attribute); - $hint = $options['hint']) ? $options['hint'] : $model->getAttributeHint($attribute); + $hint = isset($options['hint']) ? $options['hint'] : $model->getAttributeHint($attribute); if (empty($hint)) { return ''; }