From 71fad8cce2b7fbeaca41f1d8be883a20dfffa877 Mon Sep 17 00:00:00 2001 From: Repellent Date: Mon, 1 Dec 2025 12:11:30 +0500 Subject: [PATCH] =?UTF-8?q?=D0=B0=D1=88=D1=87=20Warning:=20Undefined=20pro?= =?UTF-8?q?perty:=20stdClass::$can=5Fdeleted?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/templates/templates/templates.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/templates/templates/templates.tpl b/admin/templates/templates/templates.tpl index 3280fd8..64046fb 100644 --- a/admin/templates/templates/templates.tpl +++ b/admin/templates/templates/templates.tpl @@ -102,7 +102,7 @@ $(document).ready(function(){ldelim} {if $tpl->Id == 1} {else} - {if $tpl->can_deleted==1} + {if isset($tpl->can_deleted) && $tpl->can_deleted==1} {if check_permission('template_edit')} {else}