mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-12 06:18:52 +00:00
- Force prune related values to integers during conversions
git-svn-id: file:///svn/phpbb/trunk@7797 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
a3fd064b8a
commit
2ed2996ebf
2 changed files with 4 additions and 3 deletions
|
@ -186,6 +186,7 @@ p a {
|
||||||
|
|
||||||
<ul class="menu">
|
<ul class="menu">
|
||||||
<li>[Fix] Re-allow searching within the memberlist</li>
|
<li>[Fix] Re-allow searching within the memberlist</li>
|
||||||
|
<li>[Fix] Force prune related values to integers during conversions</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -216,10 +216,10 @@ function phpbb_insert_forums()
|
||||||
'forum_type' => FORUM_POST,
|
'forum_type' => FORUM_POST,
|
||||||
'forum_status' => is_item_locked($row['forum_status']),
|
'forum_status' => is_item_locked($row['forum_status']),
|
||||||
'enable_prune' => ($prune_enabled) ? $row['prune_enable'] : 0,
|
'enable_prune' => ($prune_enabled) ? $row['prune_enable'] : 0,
|
||||||
'prune_next' => null_to_zero($row['prune_next']),
|
'prune_next' => (int) null_to_zero($row['prune_next']),
|
||||||
'prune_days' => null_to_zero($row['prune_days']),
|
'prune_days' => (int) null_to_zero($row['prune_days']),
|
||||||
'prune_viewed' => 0,
|
'prune_viewed' => 0,
|
||||||
'prune_freq' => null_to_zero($row['prune_freq']),
|
'prune_freq' => (int) null_to_zero($row['prune_freq']),
|
||||||
|
|
||||||
'forum_flags' => phpbb_forum_flags(),
|
'forum_flags' => phpbb_forum_flags(),
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue