sarvan75 / yii-user-management

Automatically exported from code.google.com/p/yii-user-management
0 stars 0 forks source link

possible bug in models/YumUser.php::relations() #64

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I think in models/YumUser.php in relations() function it is necessary to 
replace (lines 85 and 92):

$this->_tableName = Yii::app()->modules['user']['userRoleTable'];
into
$this->_userRoleTable = Yii::app()->modules['user']['userRoleTable'];

$this->_tableName = Yii::app()->modules['user']['userUserTable'];
into
$this->_userUserTable = Yii::app()->modules['user']['userUserTable'];

Original issue reported on code.google.com by prof1....@gmail.com on 22 Jun 2010 at 11:33

GoogleCodeExporter commented 9 years ago
The same is in models/YumRole.php line 54
- $this->_tableName = Yii::app()->modules['user']['userRoleTable'];
+ $this->_userRoleTable = Yii::app()->modules['user']['userRoleTable'];

Original comment by piwerek on 22 Jun 2010 at 1:23

GoogleCodeExporter commented 9 years ago

Original comment by mither...@gmail.com on 5 Dec 2010 at 10:15