thyseus / yii-user-management

a user management module collection for the yii framework
186 stars 122 forks source link

index.php?r=role/permission/index not displaying properly #116

Closed badesemowo closed 11 years ago

badesemowo commented 11 years ago

I get a Php Notice Undefined variable: user views/permission/view.php(16) on accessing : index.php?r=role/permission/index

Partial solution: I changed printf('

  • role %s
  • ', CHtml::link($role->title, array('/role/view', 'id' => $user->id)));

    to printf('

  • role %s
  • ', CHtml::link($role->title, array('/role/view', 'id' => $role->id)));

    to get this : image

    Note: there are 5 different roles attached to message_write (and not the same role added 5 times)