[TikiWiki-commits] [Git][tikiwiki/tiki][29.x] [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 <6983411989e7c_3c371bcec252bf@gitlab-sidekiq-low-urgency-cpu-bound-v2-65d8676567-ghf94.mail>

Victor Emanouilov pushed to branch 29.x at Tiki Wiki CMS Groupware / Tiki


Commits:
bf76df96 by Victor Emanouilov at 2026-02-04T14:52:36+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
=====================================
@@ -188,7 +188,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/bf76df9638897ae05b4716dd709f24a9d2e8db69

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/bf76df9638897ae05b4716dd709f24a9d2e8db69
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.