From: Roland Häder Date: Tue, 30 May 2017 11:51:09 +0000 (+0200) Subject: Unsupported array found, maybe later add a call-backable class here, for now X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0a6b81dde16619b6d4466cca1ff8ad52226e9384;p=core.git Unsupported array found, maybe later add a call-backable class here, for now at least the array keys are taken into final hash. 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 3c728320..df6e7c08 100644 --- a/framework/main/classes/lists/class_BaseList.php +++ b/framework/main/classes/lists/class_BaseList.php @@ -312,8 +312,8 @@ class BaseList extends BaseFrameworkSystem implements IteratorAggregate, Countab // Unsupported type detected self::createDebugInstance(__CLASS__, __LINE__)->debugOutput('BASE-LIST[' . __METHOD__ . ':' . __LINE__ . ']: Entry type ' . gettype($entry) . ' is unsupported.'); - // @TODO Extend this somehow? - $entry2 = gettype($entry); + // At least take all keys from array + $entry2 = gettype($entry) . ':' . implode(':', array_keys($entry)); } // Construct string which we shall hash