Update plugin.php

Removed semicolon according to issue #24 "Editor can delete other users links (including admin's)"
This commit is contained in:
Ulrich 2020-08-14 15:00:29 +02:00
parent 3262c12253
commit 110fc6e680
1 changed files with 1 additions and 1 deletions

View File

@ -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;