From a11517dc9a028d7f8be56680d07d49e0a6b4c551 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sat, 22 Jul 2017 20:37:50 +0200 Subject: updateContextUser typo --- cli/update-user.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/update-user.php') diff --git a/cli/update-user.php b/cli/update-user.php index 5f3335f2e..6b54f4038 100755 --- a/cli/update-user.php +++ b/cli/update-user.php @@ -30,7 +30,7 @@ function intParam($name) { return isset($options[$name]) && ctype_digit($options[$name]) ? intval($options[$name]) : null; } -$ok = FreshRSS_user_Controller::updateContextUser($username, +$ok = FreshRSS_user_Controller::updateContextUser( empty($options['password']) ? '' : $options['password'], empty($options['api-password']) ? '' : $options['api-password'], array( -- cgit v1.2.3