1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-21 21:57:34 +02:00

Code cleanup

This commit is contained in:
Cameron
2016-12-01 15:38:40 -08:00
parent 3877c7b6b0
commit 126f89da9f
8 changed files with 21 additions and 466 deletions

View File

@@ -2039,8 +2039,10 @@ class e107forum
{
$e107 = e107::getInstance();
$sql = e107::getDb();
$tp = e107::getParser();
$prunedate = time() - (int)$days * 86400;
$forumList = implode(',', $forumArray);
$forumList = implode(',', $tp->filter($forumArray,'int'));
if($type == 'delete')
{

View File

@@ -1318,7 +1318,7 @@ class forum_post_handler
}
$threadId = intval($_GET['id']);
$toForum = $posted['forum_move'];
$toForum = intval($posted['forum_move']);
$this->forumObj->threadMove($threadId, $toForum, $newThreadTitle, $newThreadTitleType);