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

dev/core#2894 - Crash when viewing a contact with a website #22088

Merged
merged 1 commit into from
Nov 16, 2021

Conversation

demeritcowboy
Copy link
Contributor

Overview

https://lab.civicrm.org/dev/core/-/issues/2894

Before

Create or view a contact that has a website -> Crash.

After

ok

Technical Details

Wrong default set at d38a3b1#diff-4a563c40e41149a946d34093d667fc77d4cdba5b6e2fa5c4676d33a6c9f9243fR146

It tries to access an array element under $defaults['website'] in order to set the value but it's a string.

Comments

@civibot
Copy link

civibot bot commented Nov 16, 2021

(Standard links)

@civibot civibot bot added the master label Nov 16, 2021
@eileenmcnaughton
Copy link
Contributor

thanks @demeritcowboy

@eileenmcnaughton eileenmcnaughton merged commit b19b0ae into civicrm:master Nov 16, 2021
@demeritcowboy demeritcowboy deleted the website-default branch November 16, 2021 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants