allow registration of search and idlist methods
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 15 Dec 2008 15:47:31 +0000 (15:47 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 15 Dec 2008 15:47:31 +0000 (15:47 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@11575 dcc99617-32d9-48b4-a31d-7c20da2025e4

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

index 67bace3..828ed08 100644 (file)
@@ -208,7 +208,7 @@ int osrfAppInitialize() {
                 free(tmp_method);
                 tmp_method = strdup("retrieve");
             }
-            if (!osrfHashGet( osrfHashGet(idlClass, "permacrud"), method_type )) continue;
+            if (!osrfHashGet( osrfHashGet(idlClass, "permacrud"), tmp_method )) continue;
             free(tmp_method);
 #endif