Skip to content

Commit a3dc8df

Browse files
committed
Fix Lido::getActors cache handling.
1 parent bbc359b commit a3dc8df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/RecordManager/Base/Record/Lido.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,7 @@ protected function getUrls()
747747
protected function getActors($event = null, $role = null, $includeRoles = false)
748748
{
749749
$key = md5(__METHOD__ . ($event ? implode(',', (array)$event) : 'null') . '|'
750-
. ($role ? implode(',', $role) : 'null') . '|' . ($includeRoles ? '1' : '0'));
750+
. ($role ? implode(',', (array)$role) : 'null') . '|' . ($includeRoles ? '1' : '0'));
751751
if (isset($this->resultCache[$key])) {
752752
return $this->resultCache[$key];
753753
}

0 commit comments

Comments
 (0)