Re: Route is called twice with showtemplate=false ?
Posted: Tue Mar 12, 2013 3:44 pm
This bug is fixed for CMSMS 1.11.5.
In the mean time, you could use a static boolean to make sure that your code isn't executed twice per request.
i.e:
In the mean time, you could use a static boolean to make sure that your code isn't executed twice per request.
i.e:
Code: Select all
static $flag = FALSE;
if( $flag == FALSE ) {
// do stuff
$flag = TRUE;
}