diff options
author | Igor Wiedler <igor@wiedler.ch> | 2011-04-26 02:09:51 +0200 |
---|---|---|
committer | Oleg Pudeyev <oleg@bsdpower.com> | 2011-04-25 23:19:36 -0400 |
commit | 427a5122d55f06c861277297411f7e39a03a703c (patch) | |
tree | 3abfb707f699113204d7c7a7d4ca04b24e70c65b /phpBB/includes/functions_privmsgs.php | |
parent | f0b97cfdcf851eec4660412e4c061a26b921c740 (diff) | |
download | forums-427a5122d55f06c861277297411f7e39a03a703c.tar forums-427a5122d55f06c861277297411f7e39a03a703c.tar.gz forums-427a5122d55f06c861277297411f7e39a03a703c.tar.bz2 forums-427a5122d55f06c861277297411f7e39a03a703c.tar.xz forums-427a5122d55f06c861277297411f7e39a03a703c.zip |
[feature/template-engine] Fix negative variable expressions
compile_tag_if had the flawed approach of adding an isset statement for
all variables to the beginning of the if. This fails for negative
expressions, and checking those takes a considerable effort.
The easier solution is to make the variable expression itself
conditional, defaulting to null if it is not set.
Thanks to naderman for the solution.
PHPBB3-9726
Diffstat (limited to 'phpBB/includes/functions_privmsgs.php')
0 files changed, 0 insertions, 0 deletions