Changeset 1766 for trunk/modules/auth/models/user.php
- Timestamp:
- 01/21/2008 06:56:39 AM (12 months ago)
- Files:
-
- 1 modified
-
trunk/modules/auth/models/user.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/auth/models/user.php
r1707 r1766 60 60 if (is_object($role)) 61 61 return parent::has_role($role); 62 62 63 63 // Make sure the role name is a string 64 64 $role = (string) $role; 65 65 66 66 if (ctype_digit($role)) 67 67 {
