(06-21-2021, 08:44 PM)InsiteFX Wrote: This should work for you, not tested. PHP Code:protected static $runOnce = true;if ($runOnce === true){ // run your code}else{ static::$runOnce = false;}
protected static $runOnce = true;if ($runOnce === true){ // run your code}else{ static::$runOnce = false;}