Skip to content

$slider->getLocation() can be null#52

Open
Yonn-Trimoreau wants to merge 1 commit intomageplaza:masterfrom
Yonn-Trimoreau:patch-1
Open

$slider->getLocation() can be null#52
Yonn-Trimoreau wants to merge 1 commit intomageplaza:masterfrom
Yonn-Trimoreau:patch-1

Conversation

@Yonn-Trimoreau
Copy link

If $slider->getLocation() is null, explode returns a NOT empty array with one entry "".
Then, list($pageType, $location) = explode('.', $value); throws an error.

If $slider->getLocation() is null, explode returns a NOT empty array with one entry "".
Then, ```list($pageType, $location) = explode('.', $value);``` throws an error.
@bdtrung
Copy link
Contributor

bdtrung commented Jan 2, 2020

Thank you for contributing the patch to fix the issue.
We are reviewing this patch and going to merge it into the master branch soon.

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.

2 participants