get_all_read_perms [message #13560] |
Fri, 17 October 2003 15:19 |
ngockhoi
Messages: 15 Registered: July 2003 Location: Paris
Karma: 0
|
Junior Member |
|
|
Hi all,
I had a sql error in function get_all_read_perms($uid, $mod)
$r = uq("SELECT resource_id FROM {SQL_TABLE_PREFIX}group_cache WHERE resource_id NOT IN ('.implode(',', array_keys($limit)).') AND user_id=2147483647 AND (group_cache_opt & 2) > 0");
I think the cote " will be ' :
$r = uq( 'SELECT resource_id FROM {SQL_TABLE_PREFIX}group_cache WHERE resource_id NOT IN ('.implode(',', array_keys($limit)).') AND user_id=2147483647 AND (group_cache_opt & 2) > 0' );
[Updated on: Fri, 17 October 2003 15:21] Report message to a moderator
|
|
|
|