1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 03:40:37 +02:00

Code Cleanup

This commit is contained in:
Cameron
2019-05-20 14:53:43 -07:00
parent 6a2fdab074
commit bdb45485ee
27 changed files with 55 additions and 44 deletions

View File

@@ -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')
{