mirror of
https://github.com/joomla-extensions/weblinks.git
synced 2024-12-25 17:51:07 +00:00
Fix frontend edit weblink URL
This commit is contained in:
parent
9107b7e1de
commit
6bedd432f8
@ -137,7 +137,7 @@ class Icon
|
||||
}
|
||||
|
||||
$weblinkUrl = RouteHelper::getWeblinkRoute($weblink->slug, $weblink->catid, $weblink->language);
|
||||
$url = $weblinkUrl . '&task=weblink.edit&id=' . $weblink->id . '&return=' . base64_encode($uri);
|
||||
$url = $weblinkUrl . '&task=weblink.edit&w_id=' . $weblink->id . '&return=' . base64_encode($uri);
|
||||
|
||||
if ((int) $weblink->state === 0)
|
||||
{
|
||||
|
@ -90,7 +90,7 @@ class Router extends RouterView
|
||||
$webLink->setKey('id')->setParent($category, 'catid');
|
||||
$this->registerView($webLink);
|
||||
$form = new RouterViewConfiguration('form');
|
||||
$form->setKey('id');
|
||||
$form->setKey('w_id');
|
||||
$this->registerView($form);
|
||||
|
||||
parent::__construct($app, $menu);
|
||||
|
Loading…
Reference in New Issue
Block a user