summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
Diffstat (limited to 'themes')
-rw-r--r--themes/admin_default/views/block.html.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/admin_default/views/block.html.php b/themes/admin_default/views/block.html.php
index 332e440b..21512d02 100644
--- a/themes/admin_default/views/block.html.php
+++ b/themes/admin_default/views/block.html.php
@@ -2,7 +2,7 @@
<div block_id="<?= $id ?>" id="<?= $css_id ?>" class="gBlock ui-widget">
<div class="ui-dialog-titlebar ui-widget-header ui-helper-clearfix ui-icon-right">
<? if ($css_id != "gBlockAdder"): ?>
- <a href="<?= url::site("admin/dashboard/remove_block/$id?csrf=" . access::csrf_token()) ?>"
+ <a href="<?= url::site("admin/dashboard/remove_block/$id?csrf=$csrf") ?>"
class="ui-dialog-titlebar-close ui-corner-all">
<span class="ui-icon ui-icon-closethick">remove</span>
</a>