Skip to content
This repository was archived by the owner on Jan 2, 2019. It is now read-only.

Add default value for $contents in getFromName() #586

Open
wants to merge 1 commit into
base: 1.8
Choose a base branch
from

Conversation

jeroenseegers
Copy link

PHP spit out a warning for an undefined variable $contents in the case where $extracted was empty, adding an empty string default value for $contents prevents this warning from showing up.

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

Successfully merging this pull request may close these issues.

2 participants