diff options
author | rxu <rxu@mail.ru> | 2011-11-26 01:30:03 +0800 |
---|---|---|
committer | rxu <rxu@mail.ru> | 2011-11-27 23:11:22 +0800 |
commit | 77e00d14a196d14910bdf2275ab01380b7b7f18f (patch) | |
tree | 2812269a3437e5428ce6d1d2ce0d96cb7bc0ee04 /git-tools/hooks | |
parent | e08e22ca127c24e9d958eb3025ed50a40f1dd8d8 (diff) | |
download | forums-77e00d14a196d14910bdf2275ab01380b7b7f18f.tar forums-77e00d14a196d14910bdf2275ab01380b7b7f18f.tar.gz forums-77e00d14a196d14910bdf2275ab01380b7b7f18f.tar.bz2 forums-77e00d14a196d14910bdf2275ab01380b7b7f18f.tar.xz forums-77e00d14a196d14910bdf2275ab01380b7b7f18f.zip |
[ticket/10497] Fix SQL error when guest visits forum with unread topic
Regression from the ticket PHPBB3-9008 fix.
When topic marking was enabled for guests, and a guest visited a forum with
a new topic which is marked unread, the built SQL missed an alias for a
TOPICS_TABLE which resulted in the following error:
Unknown column 't.topic_approved' in 'where clause' [1054]
The fix is to add an alias for the table.
PHPBB3-10497
PHPBB3-9008
Diffstat (limited to 'git-tools/hooks')
0 files changed, 0 insertions, 0 deletions