[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX] tiki-view_tracker.php: incorrect status code

"luci \(@luciash\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <68a6cd3677d38_2cd6d80522fc@gitlab-sidekiq-low-urgency-cpu-bound-v2-5546c8c99c-xsgrr.mail>

luci pushed to branch master at Tiki Wiki CMS Groupware / Tiki


Commits:
30858e6b by Alain Cisirika at 2025-08-21T07:31:58+00:00
[FIX] tiki-view_tracker.php: incorrect status code
---
* [FIX] tiki-view_tracker.php : fix incorrect status codes

See merge request tikiwiki/tiki!8353

- - - - -


1 changed file:

- tiki-view_tracker.php


Changes:

=====================================
tiki-view_tracker.php
=====================================
@@ -75,7 +75,7 @@ if (empty($_REQUEST["trackerId"]) || ! filter_var($_REQUEST["trackerId"], FILTER
 }
 $trackerDefinition = Tracker_Definition::get($_REQUEST['trackerId']);
 if (! $trackerDefinition) {
-    Feedback::errorAndDie(tra("The specified tracker does not exist or may have been deleted."), \Laminas\Http\Response::STATUS_CODE_400);
+    Feedback::errorAndDie(tra("The specified tracker does not exist or may have been deleted."), \Laminas\Http\Response::STATUS_CODE_404);
 }
 
 $tracker_info = $trackerDefinition->getInformation();



View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/30858e6bdd15684878b36c507c78c8310757cae2

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