From c2f738215e2b48b8e8e31e0019f27c4b38c8155e Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Mon, 24 Dec 2001 13:54:34 +0000 Subject: [PATCH] Minor updates, changed ALL to -1 other small issues. git-svn-id: file:///svn/phpbb/trunk@1693 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/admin/admin_forum_prune.php | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/phpBB/admin/admin_forum_prune.php b/phpBB/admin/admin_forum_prune.php index c4f924ef50..cf2be4dd93 100644 --- a/phpBB/admin/admin_forum_prune.php +++ b/phpBB/admin/admin_forum_prune.php @@ -86,7 +86,7 @@ $forum_rows = $db->sql_fetchrowset($f_result); // if( isset($HTTP_POST_VARS['doprune']) ) { - $prunedays = ( isset($HTTP_POST_VARS['prunedays']) ) ? $HTTP_POST_VARS['prunedays'] : 0; + $prunedays = ( isset($HTTP_POST_VARS['prunedays']) ) ? intval($HTTP_POST_VARS['prunedays']) : 0; // Convert days to seconds for timestamp functions... $prunesecs = $prunedays * 1440 * 60; @@ -142,7 +142,7 @@ else ); $select_list = " " . $lang['Days']; @@ -204,4 +203,4 @@ $template->pparse("body"); include('page_footer_admin.'.$phpEx); -?> +?> \ No newline at end of file