Hi Alex: On Wed, Apr 9, 2008 at 10:27 AM, <[EMAIL PROTECTED]> wrote:
> foreach works on a copy of the array, so this code won't actually modify > $gridstack. > > You could do this instead : > foreach( $gridstack as $key=>$value ) { > $gridstack[ $key ] = clean_string( $value ); > > > } > Thanks, checked into trunk r1225: http://ganglia.svn.sourceforge.net/viewvc/ganglia/trunk/monitor-core/web/get_context.php?r1=1225&r2=1224&pathrev=1225 Cheers, Bernard ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Ganglia-developers mailing list Ganglia-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-developers