minor error on the PDF blog tutorial

I’ve just got through the PDF blog tutorial (yii_blog_1.0.7.pdf)

on page 28, the following code

<?php echo CHtml::activeDropDownList($post,‘status’,Post::model()->statusOptions); ?>

should be:

<?php echo CHtml::activeDropDownList($model,‘status’,Post::model()->statusOptions); ?>

Also, very great doc!!! Definitely a "must be read"!!!

Yeah, there are some differences between the blog tutorial and the code generated by yiic now. We will fix them. Thanks.

Thanks! I got hung up on the post error but didn’t have time to track it down. Now I can try the tutorial again ;)