[open-ils-commits] r11555 - trunk/Open-ILS/src/c-apps
svn at svn.open-ils.org
svn at svn.open-ils.org
Sun Dec 14 23:20:34 EST 2008
Author: miker
Date: 2008-12-14 23:20:32 -0500 (Sun, 14 Dec 2008)
New Revision: 11555
Modified:
trunk/Open-ILS/src/c-apps/oils_cstore.c
Log:
test for user-ness
Modified: trunk/Open-ILS/src/c-apps/oils_cstore.c
===================================================================
--- trunk/Open-ILS/src/c-apps/oils_cstore.c 2008-12-15 04:13:45 UTC (rev 11554)
+++ trunk/Open-ILS/src/c-apps/oils_cstore.c 2008-12-15 04:20:32 UTC (rev 11555)
@@ -817,7 +817,7 @@
jsonObject* user = oilsUtilsQuickReq("open-ils.auth","open-ils.auth.session.retrieve", auth_object);
jsonObjectFree(auth_object);
- if (!user) {
+ if (!user->classname || strcmp(user->classname, "au")) {
growing_buffer* msg = buffer_init(128);
buffer_fadd(
More information about the open-ils-commits
mailing list