mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 17:28:55 +00:00
Update controllers and models
This commit is contained in:
@@ -44,7 +44,7 @@ class ProfileController extends BasePageController
|
||||
|
||||
// If both 'id' and 'name' are specified, 'id' should take precedence.
|
||||
if ($altID === false && $altUsername !== false) {
|
||||
$user = User::getByUsername($altUsername);
|
||||
$user = User::findByUsername($altUsername);
|
||||
if ($user) {
|
||||
$this->userdata = $user;
|
||||
$altID = $user['id'];
|
||||
|
||||
Reference in New Issue
Block a user