[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX] Fixed a type error in the executeOrQueueIndexRebuild() method of SearchIndexRebuilder

Benoit Grégoire (@benoitg) via TikiWiki-cvs <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <69e621e632c07_3b18e2dc8781a@gitlab-sidekiq-low-urgency-cpu-bound-v2-868995cff8-pxmdp.mail>

Benoit Grégoire pushed to branch master at Tiki Wiki CMS Groupware / Tiki


Commits:
8305738b by NasserNgandu at 2026-04-20T12:46:20+00:00
[FIX] Fixed a type error in the executeOrQueueIndexRebuild() method of SearchIndexRebuilder
---
* [FIX] Fixed a type error in the executeOrQueueIndexRebuild() method of SearchIndexRebuilder

See merge request tikiwiki/tiki!10021

- - - - -


1 changed file:

- lib/core/Services/Search/Controller.php


Changes:

=====================================
lib/core/Services/Search/Controller.php
=====================================
@@ -45,7 +45,7 @@ class Services_Search_Controller
             $stat = $prefs['unified_last_rebuild_stats_' . $prefs['unified_engine']];
         } elseif ($_SERVER['REQUEST_METHOD'] == 'POST') {
             $searchIndexRebuilder = new SearchIndexRebuilder();
-            $stat = $searchIndexRebuilder->executeOrQueueIndexRebuild($input->loggit->int());
+            $stat = $searchIndexRebuilder->executeOrQueueIndexRebuild($input->loggit->int() ?? 0);
 
             // If it was queued, return early
             if ($stat === null) {



View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/8305738b6e0127e4d29d4aa7e67c7a5978ebd0a2

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/8305738b6e0127e4d29d4aa7e67c7a5978ebd0a2
You're receiving this email because of your account on gitlab.com. Manage all notifications: https://gitlab.com/-/profile/notifications | Help: https://gitlab.com/help

_______________________________________________
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.