Skip to content
This repository was archived by the owner on Mar 4, 2021. It is now read-only.

fixed error for "Can't use method return value in write context"#254

Closed
clarkewd wants to merge 1 commit into
twilio:masterfrom
clarkewd:master
Closed

fixed error for "Can't use method return value in write context"#254
clarkewd wants to merge 1 commit into
twilio:masterfrom
clarkewd:master

Conversation

@clarkewd

Copy link
Copy Markdown

Without this change PHP throws an error:

Can't use method return value in write context

For notes on why the empty() function is not necessary see http://stackoverflow.com/questions/1075534/cant-use-method-return-value-in-write-context

@Gipetto

Gipetto commented Feb 2, 2014

Copy link
Copy Markdown
Contributor

This is code in the core CI libraries. I'm hesitant to merge this as its not OpenVBX code. I'm monitoring another PR that upgrades the CodeIgniter libraries to hopefully that can get merged and supersede the need to this request.

@clarkewd

clarkewd commented Feb 2, 2014

Copy link
Copy Markdown
Author

ah, i see - yes. I think that would be a good solution. thank you for looking at it.

@Gipetto

Gipetto commented Feb 3, 2014

Copy link
Copy Markdown
Contributor

Cool. Closing this. Fix will be included in #261

@Gipetto Gipetto closed this Feb 3, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants