mirror of
https://github.com/e107inc/e107.git
synced 2025-08-21 21:57:34 +02:00
Code cleanup
This commit is contained in:
@@ -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')
|
||||
{
|
||||
|
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user