This commit is contained in:
Dave Mc Nicoll committed 2024-06-04 13:33:11 +00:00
1 parent c92baf6cda
commit dd680c8a9a
4 files changed
+14 -9

No files matched your search

+1 -1
View File
@@ -34,7 +34,7 @@ class SecurityHandler {
{
# Searching method first and fallbacking on object if none found
if ( $list = $this->findAttributes(Attribute\Security::class, $className, $methodName) ) {
return array_pop($list)->locked;
return array_shift($list)->locked;
}
return true;