mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 17:51:40 +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.
|
||||
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);
|
||||
return $allargs;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue