X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fsettingsaction.php;h=bed478f135d09c8c91cf20b39fe6d0416f620cea;hb=e8d1bb25469fe1ef0cbcb32c3022010997aca4b0;hp=560534065f65c55a3149ce30d77496db9791c045;hpb=8884a5255fb90fda67b63fa0d4252d77176337e5;p=quix0rs-gnu-social.git diff --git a/lib/settingsaction.php b/lib/settingsaction.php index 560534065f..bed478f135 100644 --- a/lib/settingsaction.php +++ b/lib/settingsaction.php @@ -65,13 +65,12 @@ class SettingsAction extends Action * @return void */ - function handle($args) + function handle(array $args=array()) { parent::handle($args); if (!common_logged_in()) { // TRANS: Error message displayed when trying to perform an action that requires a logged in user. $this->clientError(_('Not logged in.')); - return; } else if (!common_is_real_login()) { // Cookie theft means that automatic logins can't // change important settings or see private info, and