Skip to content

Commit

Permalink
Update YumUser.php
Browse files Browse the repository at this point in the history
Fix bug with `tablePrefix`
  • Loading branch information
mazurva committed Nov 10, 2015
1 parent 387071c commit d9e21fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion user/models/YumUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public function search() {
}

if (Yum::hasModule('role') && $this->filter_role) {
$criteria->join = 'left join user_role on t.id = user_role.user_id';
$criteria->join = 'left join {{user_role}} user_role on t.id = user_role.user_id';
$criteria->addCondition('user_role.role_id = '.$this->filter_role);
}

Expand Down

0 comments on commit d9e21fd

Please sign in to comment.