Changeset 307

Show
Ignore:
Timestamp:
05/05/06 01:11:36 (3 years ago)
Author:
sven
Message:

work around for "Input Array does not match ?: SELECT * FROM user_flags WHERE flag = 'admin' AND user_id = " error.
Looks like something's up with the test of $USER var, but I've no idea what $USER's supposed to do...

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • devel/lib/elgglib.php

    r293 r307  
    40324032            return false; 
    40334033        } else { 
    4034             $userid = $USER->ident; 
     4034            $userid = (int) $USER->ident; 
    40354035        } 
    40364036    }