Changeset 538

Show
Ignore:
Timestamp:
23/01/12 12:35:10 (4 months ago)
Author:
tswsl1989
Message:

Update admin.lib.php with new gids

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/sucs-site/lib/blog/admin.lib.php

    r515 r538  
    933933                        //check the user is a member of the users, staff or societies groups 
    934934                        $posixInfo = posix_getpwnam($username); 
    935                         if ($posixInfo[gid] != 100 && $posixInfo[gid] != 106 && $posixInfo[gid] != 113) { 
     935                        if ($posixInfo[gid] != 100 && $posixInfo[gid] != 1060 && $posixInfo[gid] != 1130) { 
    936936                                $this->error = _("Err, no, you're not really a system user now are you?"); 
    937937                        }