[TikiWiki-commits] [Git][tikiwiki/tiki][29.x] [BP][FIX] Fixed replacing menu URL with name.

"Baraka Kinywa \(@bkinywa24\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <68b824c25c1d9_2cdcfdc875d8@gitlab-sidekiq-low-urgency-cpu-bound-v2-799dc879cb-xw7sn.mail>

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


Commits:
6214561c by MAGENE Sem Joel at 2025-09-03T14:13:53+03:00
[BP][FIX] Fixed replacing menu URL with name.
---
* [FIX] Fixed replacing menu URL with name.
---
* [FIX] Fixed replacing menu URL with name.

See merge request tikiwiki/tiki!8405

(cherry picked from commit e2be331b6ccb4adcfc3c601308b813f6827df4c5)

See merge request tikiwiki/tiki!8491

- - - - -


1 changed file:

- lib/smarty_tiki/FunctionHandler/Menu.php


Changes:

=====================================
lib/smarty_tiki/FunctionHandler/Menu.php
=====================================
@@ -122,7 +122,7 @@ class Menu extends Base
                         }
                         $catName = $formattedCategGroups[$attribute];
                         $element["name"] = str_replace("--groupname--", $catName, $element["name"]);
-                        $element["url"] = str_replace("--groupname--", $catName, $element["name"]);
+                        $element["url"] = str_replace("--groupname--", $catName, $element["url"]);
                         $element["sefurl"] = str_replace("--groupname--", $catName, $element["sefurl"]);
                         $element["canonic"] = str_replace("--groupname--", $catName, $element["canonic"]);
                     }



View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/6214561ce550a6f38576bf8eb8c432b97c159c73

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