[TikiWiki-commits] [Git][tikiwiki/tiki][27.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 <6983411fca613_3b184304155ea@gitlab-sidekiq-low-urgency-cpu-bound-v2-65d8676567-9prtg.mail>

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


Commits:
0e72184f by Victor Emanouilov at 2026-02-04T14:52:43+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/0e72184fa0fb483ce36d420cbac5b5af611bf19e

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