You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 3, 2018. It is now read-only.
when in yii2-podium/src/models/Thread.php line 249 if (in_array($userId, $this->forum->getMods())) {
change to if (User::can(Rbac::ROLE_MODERATOR)) {
moderator's panel present, for each moderator in all threads (like Admin)
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
moderator haven't moderator's panel in thread and when anybody want to see his profile - error
error log : "'yii\base\ErrorException' with message 'Trying to get property of non-object' in /home/www/site.com/vendor/bizley/podium/src/views/members/view.php:109"
dump of $model->mods :
0 => bizley\podium\models\Mod#1 ( [yii\db\BaseActiveRecord:_attributes] => [ 'id' => 14 'user_id' => 29 'forum_id' => 27 ] [yii\db\BaseActiveRecord:_oldAttributes] => [ 'id' => 14 'user_id' => 29 'forum_id' => 27 ] [yii\db\BaseActiveRecord:_related] => [] [yii\base\Model:_errors] => null [yii\base\Model:_validators] => null [yii\base\Model:_scenario] => 'default' [yii\base\Component:_events] => [] [yii\base\Component:_behaviors] => [] )
The text was updated successfully, but these errors were encountered: