mirror of
https://github.com/phpbb/phpbb.git
synced 2025-03-13 20:28:44 +01:00
[bug/9108] Fix table binding issues with PostgreSQL in board-wide feed. (Old Bug #58425)
The order in the FROM clause is important. The posts table has to be the last one in the chain, so it can be correctly bound with the forums table in the LEFT JOIN. This only affects the overall feed (board-wide feed). All the other feeds are unaffected.
This commit is contained in:
parent
e35392cb4f
commit
2b696cc632
@ -107,6 +107,7 @@
|
||||
<li>[Fix] Allow setting parent forums regardless of permission settings. (Bug #57415)</li>
|
||||
<li>[Fix] Redirect search engines that access pages with SIDs in the URL. (Bug #58025)</li>
|
||||
<li>[Fix] Fix incorrect ampersand encoding in redirect parameter. (Bug #58465)</li>
|
||||
<li>[Fix] Fix table binding issues with PostgreSQL in board-wide feed. (Bug #58425)</li>
|
||||
<li>[Feature] Support for Microsoft's Native SQL Server Driver for PHP (Bug #57055 - Patch by Chris Pucci at Microsoft)</li>
|
||||
<li>[Feature] The memcache acm plugin now supports multiple memcache servers.</li>
|
||||
</ul>
|
||||
|
@ -783,8 +783,8 @@ class phpbb_feed_overall extends phpbb_feed_post_base
|
||||
'p.post_id, p.topic_id, p.post_time, p.post_subject, p.post_text, p.bbcode_bitfield, p.bbcode_uid, p.enable_bbcode, p.enable_smilies, p.enable_magic_url, ' .
|
||||
'u.username, u.user_id',
|
||||
'FROM' => array(
|
||||
POSTS_TABLE => 'p',
|
||||
USERS_TABLE => 'u',
|
||||
POSTS_TABLE => 'p',
|
||||
),
|
||||
'LEFT_JOIN' => array(
|
||||
array(
|
||||
|
Loading…
x
Reference in New Issue
Block a user