From 19b603a228a63ae91d45a16dc104f795ea0cd244 Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Sat, 11 Jan 2020 19:40:13 +0100 Subject: fix editor delete add edit rights --- app/view/templates/home.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/view') diff --git a/app/view/templates/home.php b/app/view/templates/home.php index f95c60f..d3d9a99 100644 --- a/app/view/templates/home.php +++ b/app/view/templates/home.php @@ -87,9 +87,9 @@ issupereditor()) { ?> - + issupereditor() || in_array($user->id(), $item->authors())) { ?> - + issupereditor() || $item->authors() === [$user->id()]) { ?> issupereditor()) { ?>