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

"luci \(@luciash\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <690cfd49d393e_2ce26e425019@gitlab-sidekiq-low-urgency-cpu-bound-v2-6b468b55d6-54d7b.mail>

luci pushed to branch 27.x at Tiki Wiki CMS Groupware / Tiki


Commits:
451c3cbb by NasserNgandu at 2025-11-06T19:49:17+00: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

See merge request tikiwiki/tiki!8544

- - - - -


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/451c3cbbf9d63a18901297d35cc17df5b3e3fb68

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