[TikiWiki-commits] [Git][tikiwiki/tiki][28.x] [FIX][UX] User tasks: make sure open status is equals to 0%

"Baraka Kinywa \(@bkinywa24\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <691b6dd8380a8_2a319fc00609e@gitlab-sidekiq-low-urgency-cpu-bound-v2-548dc59998-k2bhp.mail>

Baraka Kinywa pushed to branch 28.x at Tiki Wiki CMS Groupware / Tiki


Commits:
89f9fdc8 by christer77 at 2025-11-17T20:41:00+02:00
[FIX][UX] User tasks: make sure open status is equals to 0%
---
* [FIX][UX] User tasks: make sure open status is equals to 0%
---
* [FIX][UX] User tasks: make sure open status is equals to 0%
---
* [FIX][UX] User tasks: make sure open status is equals to 0%

See merge request tikiwiki/tiki!8908

(cherry picked from commit 271e409c7f4660e658795a9f9b21a7f64c037f50)

See merge request tikiwiki/tiki!9041

(cherry picked from commit ec1f3fadefaf8bd0e41935546e0df26ce6a3776a)

See merge request tikiwiki/tiki!9042

- - - - -


1 changed file:

- lib/tasks/tasklib.php


Changes:

=====================================
lib/tasks/tasklib.php
=====================================
@@ -62,7 +62,7 @@ class TaskLib extends TikiLib
             } else {
                 $res['disabled'] = true;
             }
-            if ($res['percentage'] == null) {
+            if ($res['percentage'] === null) {
                 $res['percentage_null'] = true;
             } else {
                 $res['percentage_null'] = false;
@@ -422,7 +422,7 @@ class TaskLib extends TikiLib
             } else {
                 $res['disabled'] = true;
             }
-            if ($res['percentage'] == null) {
+            if ($res['percentage'] === null) {
                 $res['percentage_null'] = true;
             } else {
                 $res['percentage_null'] = false;



View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/89f9fdc801740ce027f9e591a68f15b6c997f69c

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