Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[php8-compat] [REF] Fix call to function CRM_Utils_String::createRandom by ensuring that … #20441

Merged
merged 1 commit into from
May 29, 2021

Conversation

seamuslee001
Copy link
Contributor

…the length is the first parameter not 2nd

Overview

As per the function sig the parameters in the function call are the wrong way around https://github.com/civicrm/civicrm-core/blob/master/CRM/Utils/String.php#L669

Before

Function called with parameters the wrong way around

After

Parameters passed through in the correct way around

ping @eileenmcnaughton @totten

@civibot
Copy link

civibot bot commented May 29, 2021

(Standard links)

@civibot civibot bot added the master label May 29, 2021
@eileenmcnaughton eileenmcnaughton changed the title [REF] Fix call to function CRM_Utils_String::createRandom by ensuring that … [php8-compat] [REF] Fix call to function CRM_Utils_String::createRandom by ensuring that … May 29, 2021
@eileenmcnaughton
Copy link
Contributor

@seamuslee001 I'm adding [php8-compat] to these (which is what I think you are working on with this) so I can link to them

@seamuslee001 seamuslee001 merged commit f47a5f7 into civicrm:master May 29, 2021
@seamuslee001 seamuslee001 deleted the fix_createrandom branch May 29, 2021 04:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants