This repository has been archived by the owner on Dec 27, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #17 : Remove need for object brace notation.
At Weston's suggestion, pass second argument to json_decode. This will then return an array, instead of an object. So access the array value with $data[ $setting_id ]. Instead of previous object access with $data->{ $setting_id }.
- Loading branch information