From a7f8a277390fc785d403d1c13fc1bdea623f6551 Mon Sep 17 00:00:00 2001 From: Evgeniy Tkachenko Date: Wed, 5 Apr 2017 13:55:53 +0300 Subject: [PATCH] Update colorPickerField.php --- protected/humhub/widgets/views/colorPickerField.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/protected/humhub/widgets/views/colorPickerField.php b/protected/humhub/widgets/views/colorPickerField.php index 0733cf77f4..c83b50bfb8 100644 --- a/protected/humhub/widgets/views/colorPickerField.php +++ b/protected/humhub/widgets/views/colorPickerField.php @@ -5,10 +5,10 @@ use yii\helpers\Html; humhub\assets\HumHubColorPickerAsset::register($this); ?> - 'form-control', 'id' => $inputId, 'value' => $model->color, 'style' => 'display:none']); ?> + 'form-control', 'id' => $inputId, 'value' => $model->$field, 'style' => 'display:none']); ?> \ No newline at end of file +