Skip to content

A free, self-hostable news aggregator…

updateContextUser typo

Alexandre Alapetitea11517dc9a02
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(