return AuthAssignment::model()->findByAttributes(array("userid" => $this->id))->update(array("itemname" => $role));
No columns are being updated for table "AuthAssignment". Any ideas why?
return AuthAssignment::model()->findByAttributes(array("userid" => $this->id))->update(array("itemname" => $role));
No columns are being updated for table "AuthAssignment". Any ideas why?
Any ideas anyone?
Check for records count found by findByAttributes().
Thanks Angel,
I am no longer using this code though, thanks anyways.