i have no problem changing this, but could you tell me where it is stated that assignments should be done outside the if structure? Elgg code is full of both ways...