[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX] TrackerItemModify: integer values returned from math functions did not...

"Victor Emanouilov \(@kroky\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <6983410d3276_3b29246d4782e2@gitlab-sidekiq-low-urgency-cpu-bound-v2-65d8676567-xx5wc.mail>

Victor Emanouilov pushed to branch master at Tiki Wiki CMS Groupware / Tiki


Commits:
5faec19a by Victor Emanouilov at 2026-02-04T14:52:22+02:00
[FIX] TrackerItemModify: integer values returned from math functions did not correctly format the request data for field handlers

- - - - -


1 changed file:

- lib/core/Search/Action/TrackerItemModify.php


Changes:

=====================================
lib/core/Search/Action/TrackerItemModify.php
=====================================
@@ -186,7 +186,7 @@ class Search_Action_TrackerItemModify implements Search_Action_Action
         }
 
         if (empty($add) && empty($remove)) {
-            if (is_string($value)) {
+            if (is_scalar($value)) {
                 $value = ['ins_' . $fieldInfo['fieldId'] => $value];
             }
             $data = $handler->getFieldData($value);



View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/5faec19abbd3aeef363856995b6f28c44e5677b5

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/5faec19abbd3aeef363856995b6f28c44e5677b5
You're receiving this email because of your account on gitlab.com.

_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.