From 110fc6e680c29d49b1af7502749f95cbf8100797 Mon Sep 17 00:00:00 2001 From: Ulrich Date: Fri, 14 Aug 2020 15:00:29 +0200 Subject: [PATCH] Update plugin.php Removed semicolon according to issue #24 "Editor can delete other users links (including admin's)" --- authMgrPlus/plugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authMgrPlus/plugin.php b/authMgrPlus/plugin.php index 225d6e8..04863c8 100644 --- a/authMgrPlus/plugin.php +++ b/authMgrPlus/plugin.php @@ -527,7 +527,7 @@ function amp_manage_keyword( $keyword, $capability ) { $user = YOURLS_USER !== false ? YOURLS_USER : NULL; if ( amp_have_capability( ampCap::ManageUsrsURL ) // Admin? || ( $owner === NULL && amp_have_capability( ampCap::ManageAnonURL ) ) // Editor? - || ( $owner === $user && amp_have_capability( $capability ) ) ); // Self Edit? + || ( $owner === $user && amp_have_capability( $capability ) ) ) // Self Edit? $return = true; } return $return;