Custom templates bug

monkeyman
monkeyman
  • monkeyman
  • 10 months ago
There's a small bug, which makes using custom templates impossible. In com_communitypolls/controllers/polls.pp, line 412:

$tpl = !empty($poll->params['template']) ? JFile::makeSafe($params['template']) : 'default';


Should be this instead:

$tpl = !empty($params['template']) ? JFile::makeSafe($params['template']) : 'default';


Please, fix this.

Access to viewing replies is restricted.
Showing 1 of 1 replies
You do not have permissions for replying to this topic.
Loading...
Confirm delete? This action is irreversible and the data will be deleted permanently. Do you want to continue? Confirm Add New Delete Unpublish Cancel Import Uninstall The selected item successfully deleted.
Shondalai