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

"Victor Emanouilov \(@kroky\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <68af00eabf76c_2cfa9b28907e5@gitlab-sidekiq-low-urgency-cpu-bound-v2-75c5d7f49c-hq8sf.mail>

Victor Emanouilov pushed to branch master at Tiki Wiki CMS Groupware / Tiki


Commits:
e2be331b by NasserNgandu at 2025-08-27T12:50:16+00:00
[FIX] Fixed replacing menu URL with name.
---
* [FIX] Fixed replacing menu URL with name.

See merge request tikiwiki/tiki!8405

- - - - -


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/e2be331b6ccb4adcfc3c601308b813f6827df4c5

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