From 0b1fad208981d855d7b97f37d32f1117d88a35e8 Mon Sep 17 00:00:00 2001 From: Qiang Xue Date: Sat, 27 Jul 2013 12:54:53 -0400 Subject: [PATCH] Fixes #668 --- framework/yii/widgets/DetailView.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/yii/widgets/DetailView.php b/framework/yii/widgets/DetailView.php index 9b062c5..c9fca12 100644 --- a/framework/yii/widgets/DetailView.php +++ b/framework/yii/widgets/DetailView.php @@ -31,7 +31,7 @@ use yii\helpers\Inflector; * * ~~~ * \yii\widgets\DetailView::widget(array( - * 'data' => $model, + * 'model' => $model, * 'attributes' => array( * 'title', // title attribute (in plain text) * 'description:html', // description attribute in HTML