tonic icon indicating copy to clipboard operation
tonic copied to clipboard

Syntax conflict

Open minasvisual opened this issue 5 years ago • 2 comments

Hi, I have a issue with a syntax tag. Always i try call the variable $supervisor.user_name the code understand the "or" as compare flag. This break the code.

{$supervisor.user_name} Change to: if(@$supervis||.user_name): To try{ echo @self::callModifier("contextOutTag",$supervisor['user_name'],""); } catch(\Exception $e) { echo $e->getMessage(); }

minasvisual avatar May 17 '19 22:05 minasvisual

See my suggestion at https://github.com/rgamba/tonic/issues/10#issuecomment-464032515

adaniello avatar May 20 '19 08:05 adaniello

See my suggestion at #10 (comment)

Yes you`re right! I just changed the var name to solve, but this issue need to be commit it to the repository.

Thanks!

minasvisual avatar May 20 '19 15:05 minasvisual