thyseus/yii-user-management — pull request #33 by garekus (2012-09-02 21:33:08+00:00)
Title: Update user/controllers/YumUserController.php

$user = YumUser::model()->findByPk($id) - return null,
because Yii::app()->user->id; return username not the PK