X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fgrantrole.php;h=2fc4907cfc9a5bf1612d462f8f52fc3e28cdc8ea;hb=a6390007b7e4dd4a8004382b3fe95f4d8e710dfc;hp=35f0dcf961d02fc328466cc163f56fbec3407fd7;hpb=c00491cd7a29a9ef16d6e6bfa54505d4c9a522fe;p=quix0rs-gnu-social.git diff --git a/actions/grantrole.php b/actions/grantrole.php index 35f0dcf961..2fc4907cfc 100644 --- a/actions/grantrole.php +++ b/actions/grantrole.php @@ -49,7 +49,7 @@ class GrantRoleAction extends ProfileFormAction * * @return boolean success flag */ - function prepare($args) + function prepare(array $args = array()) { if (!parent::prepare($args)) { return false;