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

FIX: Using undefined var in ModelAdmin #4508

Merged
merged 1 commit into from Aug 18, 2015

Conversation

kinglozzer
Copy link
Member

See #4477. $className is undefined. Figured we may as well use sanitiseClassName() too as that’s what the method was added for.

ping @dhensby as you’ve been merging upstream lately. Looks like this is an issue across 3.1, 3.2, 3 and master. Good luck! 😜

@dhensby
Copy link
Contributor

dhensby commented Aug 18, 2015

Classic!

dhensby added a commit that referenced this pull request Aug 18, 2015
FIX: Using undefined var in ModelAdmin
@dhensby dhensby merged commit a4bd111 into silverstripe:3.1 Aug 18, 2015
@kinglozzer kinglozzer deleted the missing-var branch August 18, 2015 16:10
@sminnee
Copy link
Member

sminnee commented Aug 18, 2015

This was my fault, sorry. I merged a PR with a bug; the relevant code in ModelAdmin wasn't covered by a test.

@dhensby
Copy link
Contributor

dhensby commented Aug 20, 2015

No worries @sminnee. We need to get better at checking scrutinizr (and have it fail on these kinds of things). I was more commenting that I merged a big up to all branches, than the fact we pulled in a bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants