]> git.mxchange.org Git - core.git/commitdiff
... now call-back array ...
authorRoland Häder <roland@mxchange.org>
Tue, 30 May 2017 13:15:41 +0000 (15:15 +0200)
committerRoland Häder <roland@mxchange.org>
Tue, 30 May 2017 13:15:41 +0000 (15:15 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
framework/main/classes/lists/class_BaseList.php

index e629b17771c63c7f6410728febaeb044aadbec51..580ba0d8bb52970e4c8680534b082972093267f7 100644 (file)
@@ -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 {