summaryrefslogtreecommitdiff
path: root/core/views/admin_graphics.html.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/views/admin_graphics.html.php')
-rw-r--r--core/views/admin_graphics.html.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/views/admin_graphics.html.php b/core/views/admin_graphics.html.php
index add88b16..08374471 100644
--- a/core/views/admin_graphics.html.php
+++ b/core/views/admin_graphics.html.php
@@ -3,7 +3,7 @@
$(document).ready(function() {
select_toolkit = function(el) {
if (!$(this).hasClass("gUnavailable")) {
- window.location = '<?= url::site("admin/graphics/choose/__TK__?csrf=" . access::csrf_token()) ?>'
+ window.location = '<?= url::site("admin/graphics/choose/__TK__?csrf=$csrf") ?>'
.replace("__TK__", $(this).attr("id"));
}
};