mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-10 04:24:14 +09:00
Fix actions from other modules not being recognized
This commit is contained in:
parent
e83e82f8d3
commit
f227617fa9
1 changed files with 1 additions and 1 deletions
|
|
@ -129,7 +129,7 @@ class Router
|
||||||
}
|
}
|
||||||
|
|
||||||
// Try the generic mid/act pattern.
|
// Try the generic mid/act pattern.
|
||||||
if (preg_match('#^[a-zA-Z0-9_]+$#', $internal_url) && isset($action_info->action->{$internal_url}) && !$action_info->action->{$internal_url}->route)
|
if (preg_match('#^[a-zA-Z0-9_]+$#', $internal_url))
|
||||||
{
|
{
|
||||||
$allargs = array_merge(['mid' => $prefix, 'act' => $internal_url], $args);
|
$allargs = array_merge(['mid' => $prefix, 'act' => $internal_url], $args);
|
||||||
return $allargs;
|
return $allargs;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue