Fuhrmann
Well-known member
PHP:
$ftpHelper = $this->getHelper('ForumThreadPost');
$forum = $this->getHelper('ForumThreadPost')->assertForumValidAndViewable(
$forumId ? $forumId : $forumName,
$this->_getForumFetchOptions()
);
Since the helper is already in the var $ftpHelper the line below could be:
PHP:
$forum = $ftpHelper->assertForumValidAndViewable(
$forumId ? $forumId : $forumName,
$this->_getForumFetchOptions()
);
Upvote
1