Skip to content
This repository has been 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
wants to merge 1 commit into from

Conversation

clarkewd
Copy link

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
Copy link
Contributor

Gipetto commented Feb 2, 2014

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
Copy link
Author

clarkewd commented Feb 2, 2014

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

@Gipetto
Copy link
Contributor

Gipetto commented Feb 3, 2014

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