From: Dan Scott Date: Mon, 21 Oct 2013 15:12:06 +0000 (-0400) Subject: Fix "elfield" typo noted by Ben Ostrowsky X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=fc01be26dcd91714217a9f5090f07a5966b757b6;p=evergreen%2Ftadl.git 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 --- 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;