mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
Allow changing forum from drop down under certain circumstances. #37525
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9789 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
4f6f9c424d
commit
208f74970b
2 changed files with 11 additions and 7 deletions
|
@ -165,6 +165,7 @@
|
||||||
<li>[Fix] Reorder frame order of animated subsilver2 topic icons to be useful when animation is disabled. (Bug #29385 - Patch by prototech)</li>
|
<li>[Fix] Reorder frame order of animated subsilver2 topic icons to be useful when animation is disabled. (Bug #29385 - Patch by prototech)</li>
|
||||||
<li>[Fix] Ensure user errors are displayed regardless of PHP settings. (Bug #47505)</li>
|
<li>[Fix] Ensure user errors are displayed regardless of PHP settings. (Bug #47505)</li>
|
||||||
<li>[Fix] Permit null values for non-required integer custom profile fields and ensure zero complies with the range limits. (Bug #40925)</li>
|
<li>[Fix] Permit null values for non-required integer custom profile fields and ensure zero complies with the range limits. (Bug #40925)</li>
|
||||||
|
<li>[Fix] Allow changing forum from select box under certain circumstances. (Bug #37525)</li>
|
||||||
<li>[Change] Change the data format of the default file ACM to be more secure from tampering and have better performance.</li>
|
<li>[Change] Change the data format of the default file ACM to be more secure from tampering and have better performance.</li>
|
||||||
<li>[Change] Add index on log_time to the log table to prevent slowdown on boards with many log entries. (Bug #44665 - Patch by bantu)</li>
|
<li>[Change] Add index on log_time to the log table to prevent slowdown on boards with many log entries. (Bug #44665 - Patch by bantu)</li>
|
||||||
<li>[Change] Template engine now permits to a limited extent variable includes.</li>
|
<li>[Change] Template engine now permits to a limited extent variable includes.</li>
|
||||||
|
|
|
@ -258,7 +258,7 @@ class mcp_reports
|
||||||
}
|
}
|
||||||
unset($forum_list_read);
|
unset($forum_list_read);
|
||||||
|
|
||||||
if ($topic_id && $forum_id)
|
if ($topic_id)
|
||||||
{
|
{
|
||||||
$topic_info = get_topic_data(array($topic_id));
|
$topic_info = get_topic_data(array($topic_id));
|
||||||
|
|
||||||
|
@ -267,12 +267,15 @@ class mcp_reports
|
||||||
trigger_error('TOPIC_NOT_EXIST');
|
trigger_error('TOPIC_NOT_EXIST');
|
||||||
}
|
}
|
||||||
|
|
||||||
$topic_info = $topic_info[$topic_id];
|
if ($forum_id != $topic_info[$topic_id]['forum_id'])
|
||||||
$forum_id = $topic_info['forum_id'];
|
{
|
||||||
}
|
$topic_id = 0;
|
||||||
else if ($topic_id && !$forum_id)
|
}
|
||||||
{
|
else
|
||||||
$topic_id = 0;
|
{
|
||||||
|
$topic_info = $topic_info[$topic_id];
|
||||||
|
$forum_id = (int) $topic_info['forum_id'];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$forum_list = array();
|
$forum_list = array();
|
||||||
|
|
Loading…
Add table
Reference in a new issue