Permalink
Browse files

Update inline docs.

  • Loading branch information...
1 parent d46ac30 commit f1532730c63dc31f77f1beee0d20ba87e2e91b0f @kahwee committed Feb 16, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 protected/extensions/krichtexteditor/KRichTextEditor.php
@@ -8,8 +8,8 @@
* Yii::import('ext.krichtexteditor.KRichTextEditor');
* $this->widget('KRichTextEditor', array(
* 'model' => $model,
- * 'value' => $model->isNewRecord ? $model->{$name} : '',
- * 'attribute' => $name,
+ * 'value' => $model->isNewRecord ? $model->content : '',
+ * 'attribute' => 'content',
* 'options' => array(
* 'theme_advanced_resizing' => 'true',
* 'theme_advanced_statusbar_location' => 'bottom',

0 comments on commit f153273

Please sign in to comment.