FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » get_all_read_perms
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
get_all_read_perms [message #13560] Fri, 17 October 2003 15:19 Go to previous message
ngockhoi is currently offline  ngockhoi   France
Messages: 15
Registered: July 2003
Location: Paris
Karma:
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

[Message index]
 
Read Message
Read Message
Previous Topic: 2.5.0RC5: Moderation approval error
Next Topic: Template and Administration problems
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 30 11:12:44 GMT 2024

Total time taken to generate the page: 0.04594 seconds