Closed (works as designed)
Project:
Location
Version:
6.x-3.1-rc1
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
18 May 2009 at 18:29 UTC
Updated:
25 Jun 2011 at 17:31 UTC
I need to store the lid after creating a location.
location_save_locations(&$locations, $criteria) doesn't return anything right now about the status of the operation, or the new values (like lid).
I suggest that we change the API so that location_save_locations returns the $location array at least, maybe even consider addtional info about the success or failure of that operation.
What do you think?
Comments
Comment #1
frankcarey commentedlooks like location_save() returns the lid or false if there there was a deletion.
Comment #2
ankur commented