Details
-
Type: Improvement
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 1.6
-
Fix Version/s: 1.7
-
Component/s: None
-
Labels:None
Description
Currently, if crm_create_location receives any objects in the new location values, it chokes. This could easily be avoided by casting the values to arrays before using array functions on them.
For easy reference:
$arr = (array) $obj;