]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/lists/class_BaseList.php
... now call-back array ...
[core.git] / 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 {