Fixes issue #109 - Urlencode title of column to delete for classical polls too

This commit is contained in:
Olivier PEREZ 2015-11-05 21:02:49 +01:00
parent 8f2c9f07d4
commit afe8eac89b

View File

@ -14,7 +14,7 @@
<th role="presentation"></th>
{foreach $slots as $id=>$slot}
<td headers="C{$id}">
<a href="{poll_url id=$admin_poll_id admin=true action='delete_column' action_value=$slot->title}"
<a href="{poll_url id=$admin_poll_id admin=true action='delete_column' action_value=urlencode($slot->title)}"
class="btn btn-link btn-sm" title="{__('adminstuds', 'Remove the column')} {$slot->title|html}">
<i class="glyphicon glyphicon-remove text-danger"></i><span class="sr-only">{__('Generic', 'Remove')}</span>
</a>