mirror of
https://github.com/processwire/processwire.git
synced 2025-08-13 18:24:57 +02:00
Fix issue in User::editUrl() where it wasn't passing $options array to parent call
This commit is contained in:
@@ -470,7 +470,7 @@ class User extends Page {
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public function editUrl($options = array()) {
|
public function editUrl($options = array()) {
|
||||||
return str_replace('/page/edit/', '/access/users/edit/', parent::editUrl());
|
return str_replace('/page/edit/', '/access/users/edit/', parent::editUrl($options));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user