too much backported from trunk, removing non-existant var
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 23 Dec 2008 16:23:35 +0000 (16:23 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 23 Dec 2008 16:23:35 +0000 (16:23 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_4@11661 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/c-apps/oils_cstore.c

index f7d5268..af4114d 100644 (file)
@@ -1006,7 +1006,7 @@ static jsonObject* doRetrieve(osrfMethodContext* ctx, int* err ) {
        jsonObjectSetKey(
                jsonObjectGetIndex(fake_params, 0),
                osrfHashGet(meta, "primarykey"),
-               jsonObjectClone(jsonObjectGetIndex(ctx->params, id_pos))
+               jsonObjectClone(jsonObjectGetIndex(ctx->params, 0))
        );