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

Benoit Grégoire (@benoitg) via TikiWiki-cvs <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <6914ea0b8e306_2ce29dc378da@gitlab-sidekiq-low-urgency-cpu-bound-v2-554bcf6b6c-6lg6v.mail>

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


Commits:
271e409c by christer77 at 2025-11-12T20:03:58+00: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%

See merge request tikiwiki/tiki!8908

- - - - -


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/271e409c7f4660e658795a9f9b21a7f64c037f50

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