mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
Fixed bug #488093
git-svn-id: file:///svn/phpbb/trunk@1621 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
4a6c692484
commit
19ad462c32
1 changed files with 8 additions and 5 deletions
|
@ -97,7 +97,8 @@ if( isset($HTTP_POST_VARS['doprune']) )
|
||||||
);
|
);
|
||||||
|
|
||||||
$i = 0;
|
$i = 0;
|
||||||
@reset($forum_rows);
|
|
||||||
|
reset($forum_rows);
|
||||||
while(list(, $forum_data) = each ($forum_rows))
|
while(list(, $forum_data) = each ($forum_rows))
|
||||||
{
|
{
|
||||||
$p_result = prune($forum_data['forum_id'], $prunedate);
|
$p_result = prune($forum_data['forum_id'], $prunedate);
|
||||||
|
@ -117,6 +118,7 @@ if( isset($HTTP_POST_VARS['doprune']) )
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
$template->assign_vars(array(
|
$template->assign_vars(array(
|
||||||
"L_FORUM" => $lang['Forum'],
|
"L_FORUM" => $lang['Forum'],
|
||||||
"L_TOPICS_PRUNED" => $lang['Topics_pruned'],
|
"L_TOPICS_PRUNED" => $lang['Topics_pruned'],
|
||||||
|
@ -162,7 +164,8 @@ else
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$forum_id = intval($HTTP_POST_VARS[POST_FORUM_URL]);
|
$forum_id = $HTTP_POST_VARS[POST_FORUM_URL];
|
||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Output the form to retrieve Prune information.
|
// Output the form to retrieve Prune information.
|
||||||
|
|
Loading…
Add table
Reference in a new issue