if ( ! Auth::member(100)) { echo 'access denied'; }This code couse an error:
Is there a bug or sth ? Why I can't access to method $group->group() in foreach() loop ?ErrorException [ Error ]: Call to undefined method Auth\Auth_Group_SimpleGroup::group()
PKGPATH/auth/classes/auth/login/driver.php @ line 132
127
128 if ($driver === null)
129 {
130 foreach (\Auth::group(true) as $group)
131 {
132 if ($group->group($group, $user))
133 {
134 return true;
135 }
136 }
137
It looks like you're new here. If you want to get involved, click one of these buttons!