Recent Topics

1 Aug 31, 2006 13:32    

This is my first post here, so hello all :)

In function "blog_update_user_perms" in /inc/MODEL/collections/_blog.funcs.php is big memory leak.

Each loop

foreach( $DB->get_col( 'SELECT user_ID FROM T_users' ) as $loop_user_ID )


consume ~ 1.3 K of memory.
Directly this is caused by "param" function witch sets unused $GLOBALS[] values (14 each loop). Immediatly freeing it by "unset" helps, but this isn't elegant solution. The "param" function should be change because this problem probably exists in much more places.


Form is loading...