Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Update JRegistry::def to support not string defaults. #1550

Merged
merged 1 commit into from Sep 26, 2012

Conversation

Projects
None yet
2 participants
Contributor

pasamio commented Sep 26, 2012

This updates the behaviour of JRegistry::def so that it doesn't type cast the default value to a string but leaves it alone consistent with JRegistry::set's behaviour. This allows you to specify a default value that utilises an array of an object.

@pasamio pasamio Update JRegistry::def to support not string defaults.
This updates the behaviour of JRegistry::def so that it doesn't type
cast the default value to a string but leaves it alone consistent
with JRegistry::set's behaviour. This allows you to specify a default
value that utilises an array of an object.
38dba71

@LouisLandry LouisLandry added a commit that referenced this pull request Sep 26, 2012

@LouisLandry LouisLandry Merge pull request #1550 from pasamio/jregistry-def
Update JRegistry::def to support not string defaults.
d50fe07

@LouisLandry LouisLandry merged commit d50fe07 into joomla:staging Sep 26, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment