From 6777e366174f04ae1430511f3ff2fdf5a8ba56e1 Mon Sep 17 00:00:00 2001 From: John Eskew Date: Tue, 21 Nov 2017 14:21:23 -0500 Subject: [PATCH] Change template's deprecated '=' comparison to '=='. --- lms/templates/wiki/plugins/attachments/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/templates/wiki/plugins/attachments/index.html b/lms/templates/wiki/plugins/attachments/index.html index 7abdf3049b..a8de428a21 100644 --- a/lms/templates/wiki/plugins/attachments/index.html +++ b/lms/templates/wiki/plugins/attachments/index.html @@ -87,7 +87,7 @@ {% if attachment|can_write:user %} {% if not attachment.current_revision.deleted %} - {% if 'attachment.article = article' %} + {% if attachment.article == article %} {% trans "Delete" %} {% else %} {% trans "Detach" %}