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

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

Victor Emanouilov pushed to branch 28.x at Tiki Wiki CMS Groupware / Tiki


Commits:
2bbe79ac by NasserNgandu at 2025-08-29T14:23:53+00:00
[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!8423

- - - - -


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/2bbe79ac8ba2f0be09bebc2d3a8c5d25ac3d8da5

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