1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed Minimal Documentation Error

Discussion in 'Resolved Bug Reports' started by ragtek, Jun 4, 2011.

  1. ragtek

    ragtek Guest

    XenForo_Visitor:: hasPermission can return bool AND an integer value and not only boolean ;)

    * Determines if the visitor has a specific permission.
    * @param string $group Permission group
    * @param string $permission
    * @return boolean
    public function hasPermission($group, $permission)
    return XenForo_Permission::hasPermission($this->_user['permissions'], $group, $permission);
  2. Mike

    Mike XenForo Developer Staff Member


Share This Page