From 3e2e1b83366a480ce4e7bbf1af6e0ee14efefb95 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sat, 25 Feb 2023 07:35:09 +0100 Subject: [PATCH] Continued: - ops, missing this one - tpzo fixed --- framework/main/classes/criteria/search/class_SearchCriteria.php | 2 +- framework/main/interfaces/class_FrameworkInterface.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/framework/main/classes/criteria/search/class_SearchCriteria.php b/framework/main/classes/criteria/search/class_SearchCriteria.php index f8d4aaed..155916d9 100644 --- a/framework/main/classes/criteria/search/class_SearchCriteria.php +++ b/framework/main/classes/criteria/search/class_SearchCriteria.php @@ -169,7 +169,7 @@ class SearchCriteria extends BaseCriteria implements LocalSearchCriteria { } // "Explode" value - /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->traceMessage(sprintf('SEARCH-CRITERIA: Invoking explode(%s,value[]=%s) ...', $seperator, gettype($value))); + /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->traceMessage(sprintf('SEARCH-CRITERIA: Invoking explode(%s,value[]=%s) ...', $separator, gettype($value))); $valueArray = explode($separator, $value); /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->debugMessage(sprintf('SEARCH-CRITERIA: valueArray()=%d', count($valueArray))); diff --git a/framework/main/interfaces/class_FrameworkInterface.php b/framework/main/interfaces/class_FrameworkInterface.php index b0641639..bf6e4479 100644 --- a/framework/main/interfaces/class_FrameworkInterface.php +++ b/framework/main/interfaces/class_FrameworkInterface.php @@ -31,6 +31,7 @@ interface FrameworkInterface { const EXCEPTION_INVALID_ARGUMENT = 0x200; const EXCEPTION_LOGIC_EXCEPTION = 0x201; const EXCEPTION_UNSPPORTED_OPERATION = 0x202; + const EXCEPTION_UNEXPECTED_VALUE = 0x203; /** * Getter for field name -- 2.39.5