Skip to content
This repository was archived by the owner on May 19, 2025. It is now read-only.

Commit 110fc6e

Browse files
committed
Update plugin.php
Removed semicolon according to issue #24 "Editor can delete other users links (including admin's)"
1 parent 3262c12 commit 110fc6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

authMgrPlus/plugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ function amp_manage_keyword( $keyword, $capability ) {
527527
$user = YOURLS_USER !== false ? YOURLS_USER : NULL;
528528
if ( amp_have_capability( ampCap::ManageUsrsURL ) // Admin?
529529
|| ( $owner === NULL && amp_have_capability( ampCap::ManageAnonURL ) ) // Editor?
530-
|| ( $owner === $user && amp_have_capability( $capability ) ) ); // Self Edit?
530+
|| ( $owner === $user && amp_have_capability( $capability ) ) ) // Self Edit?
531531
$return = true;
532532
}
533533
return $return;

0 commit comments

Comments
 (0)