mirror of
https://github.com/a2nt/cms-niceties.git
synced 2024-10-22 11:05:46 +02:00
FIX: actions and tree urls handling
This commit is contained in:
parent
7b664df3a0
commit
90e1a0676e
@ -187,8 +187,11 @@ class URLLinkablePlugin implements ModelQueryPlugin
|
||||
$action = $match['action'];
|
||||
|
||||
$action = ($action === 'handleAction') ? $actionParam : $action;
|
||||
|
||||
if ($action && !$ctl->hasAction($action)) {
|
||||
if (
|
||||
$action
|
||||
&& $req->param('Action') !== $action
|
||||
&& !$ctl->hasAction($action)
|
||||
) {
|
||||
return self::RenderNotFound($object);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user