[ticket/571] Some more minor fixes
B3P-571
This commit is contained in:
1 parent
9d4515432c
commit
45fb1c859d
4 files changed
+43
-43
No files matched your search
@@ -393,6 +393,6 @@ class manager
|
||||
*/
|
||||
public function get_module_link($mode, $module_id)
|
||||
{
|
||||
return preg_replace(array('/i=[0-9]+/', '/mode=[a-zA-Z0-9_]+/'), array('i=%5C' . str_replace('\\', '%5C', $this->acp_class), 'mode=' . $mode), $this->u_action) . (($module_id) ? '&module_id=' . $module_id : '');
|
||||
return preg_replace(array('/i=[0-9]+/', '/mode=[a-zA-Z0-9_]+/'), array('i=%5C' . str_replace('\\', '-', $this->acp_class), 'mode=' . $mode), $this->u_action) . (($module_id) ? '&module_id=' . $module_id : '');
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user