[open-ils-commits] r11616 - trunk/Open-ILS/src/c-apps
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Dec 17 16:29:12 EST 2008
Author: miker
Date: 2008-12-17 16:29:08 -0500 (Wed, 17 Dec 2008)
New Revision: 11616
Modified:
trunk/Open-ILS/src/c-apps/oils_cstore.c
Log:
might be an object instead of a pkey
Modified: trunk/Open-ILS/src/c-apps/oils_cstore.c
===================================================================
--- trunk/Open-ILS/src/c-apps/oils_cstore.c 2008-12-17 21:26:55 UTC (rev 11615)
+++ trunk/Open-ILS/src/c-apps/oils_cstore.c 2008-12-17 21:29:08 UTC (rev 11616)
@@ -3641,7 +3641,7 @@
id
);
- obj = jsonCloneObject(jsonObjectGetIndex( ctx->params, _obj_pos ));
+ obj = jsonNewObject(id);
if ( strcmp( osrfHashGet( osrfHashGet( osrfHashGet(meta, "fields"), pkey ), "primitive" ), "number" ) )
dbi_conn_quote_string(writehandle, &id);
More information about the open-ils-commits
mailing list