Changeset 1548 in ExiteCMS for trunk/includes/user_functions.php


Ignore:
Timestamp:
07/11/08 14:51:13 (4 years ago)
Author:
root
Message:

fixed missing global declaration for $groups in checkusergroup()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/user_functions.php

    r1503 r1548  
    270270// Check if a user is assigned to the specified user group 
    271271function checkusergroup($user_id, $group_id) { 
    272     global $db_prefix; 
     272    global $groups, $db_prefix; 
    273273 
    274274    // every user is a member 
Note: See TracChangeset for help on using the changeset viewer.