Skip to content

Commit

Permalink
Fix update_api_key
Browse files Browse the repository at this point in the history
  • Loading branch information
nosolored committed May 20, 2016
1 parent f40efab commit 1eac339
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/inc/lib/usermanager.lib.php
Expand Up @@ -3001,7 +3001,7 @@ public static function update_api_key($user_id, $api_service)
self::delete_api_key($id_key['id']);
$num = self::add_api_key($user_id, $api_service);
} elseif ($num == 0) {
$num = self::add_api_key($user_id);
$num = self::add_api_key($user_id, $api_service);
}
return $num;
}
Expand Down

0 comments on commit 1eac339

Please sign in to comment.