Skip to content
This repository has been archived by the owner on Feb 23, 2019. It is now read-only.

Remove uninitialized var #488

Merged
merged 2 commits into from
May 20, 2017
Merged

Remove uninitialized var #488

merged 2 commits into from
May 20, 2017

Conversation

nigrosimone
Copy link
Collaborator

@nigrosimone nigrosimone commented May 20, 2017

Into Cdn_Plugin.php there is a uninitialized variable $empty, see:

( $this->can_cdn() && $this->can_cdn2( $empty ) ) ) {

this cause an error:

Notice: Undefined variable: $empty in Cdn_Plugin.php on line 777

the fix is replace $empty with an empty string:

( $this->can_cdn() && $this->can_cdn2( '' ) ) ) {

This PR fix the issue #470

Thanks to @Furniel for the fix in #477

@nigrosimone nigrosimone merged commit 966732a into v0.9.5.x May 20, 2017
@nigrosimone nigrosimone deleted the remove-uninitialized-var branch May 20, 2017 10:47
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.

1 participant