mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +02:00
Code Cleanup
This commit is contained in:
@@ -278,7 +278,7 @@ class forum_post_handler
|
||||
$poll = new poll;
|
||||
|
||||
require_once(HEADERF);
|
||||
$template = $this->getTemplate('posted');
|
||||
$template = (array) $this->getTemplate('posted');
|
||||
echo $template['poll'];
|
||||
require_once(FOOTERF);
|
||||
exit;
|
||||
@@ -389,7 +389,7 @@ class forum_post_handler
|
||||
|
||||
|
||||
/**
|
||||
* @return string
|
||||
* @return array|string
|
||||
*/
|
||||
function getTemplate($type = 'post')
|
||||
{
|
||||
|
Reference in New Issue
Block a user