From: Roland Häder Date: Tue, 30 May 2017 13:15:41 +0000 (+0200) Subject: ... now call-back array ... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d602c7cc9579962d64ac0051cee1dc1a733d5d7c;p=core.git ... now call-back array ... Signed-off-by: Roland Häder --- diff --git a/framework/main/classes/lists/class_BaseList.php b/framework/main/classes/lists/class_BaseList.php index e629b177..580ba0d8 100644 --- a/framework/main/classes/lists/class_BaseList.php +++ b/framework/main/classes/lists/class_BaseList.php @@ -323,7 +323,7 @@ class BaseList extends BaseFrameworkSystem implements IteratorAggregate, Countab } elseif ((is_array($entry)) && (isset($entry['id']))) { // Supported array found $entry2 = crc32($entry['id']) . ':' . count($entry); - } elseif (($this->callbackInstance instanceof FrameworkInterface) && (method_exists(array($this->callbackInstance, 'generateListHashFromEntry')))) { + } elseif (($this->callbackInstance instanceof FrameworkInterface) && (method_exists($this->callbackInstance, 'generateListHashFromEntry'))) { // Call it instead $entry2 = $this->callbackInstance->generateListHashFromEntry($entry); } else {