Correcting 'Undefined index' notice on hidden

This commit is contained in:
Antonin 2015-04-07 17:28:04 +02:00
parent 213980e807
commit af668d2428

View File

@ -388,6 +388,7 @@ $smarty->assign('comments', $comments);
$smarty->assign('editingVoteId', $editingVoteId); $smarty->assign('editingVoteId', $editingVoteId);
$smarty->assign('message', $message); $smarty->assign('message', $message);
$smarty->assign('admin', true); $smarty->assign('admin', true);
$smarty->assign('hidden', $poll->hidden);
$smarty->assign('parameter_name_regex', NAME_REGEX); $smarty->assign('parameter_name_regex', NAME_REGEX);
$smarty->display('studs.tpl'); $smarty->display('studs.tpl');