From fc01be26dcd91714217a9f5090f07a5966b757b6 Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Mon, 21 Oct 2013 11:12:06 -0400 Subject: [PATCH] Fix "elfield" typo noted by Ben Ostrowsky Per sylvar in IRC and in https://bugs.launchpad.net/evergreen/+bug/1240636, "elfield" should be "selfield" (even though the code in question is currently inside an "#if 0" block and will never execute). Signed-off-by: Dan Scott --- Open-ILS/src/c-apps/oils_sql.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/c-apps/oils_sql.c b/Open-ILS/src/c-apps/oils_sql.c index eb3f48b498..e72bb49530 100644 --- a/Open-ILS/src/c-apps/oils_sql.c +++ b/Open-ILS/src/c-apps/oils_sql.c @@ -4461,7 +4461,7 @@ char* SELECT ( #if 0 if (is_agg->size || (flags & SELECT_DISTINCT)) { - const jsonObject* aggregate_obj = jsonObjectGetKeyConst( elfield, "aggregate"); + const jsonObject* aggregate_obj = jsonObjectGetKeyConst( selfield, "aggregate"); if ( ! obj_is_true( aggregate_obj ) ) { if (gfirst) { gfirst = 0; -- 2.43.2