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=64adfaeacb6fc4061ef63ef391f369daecae5261;p=working%2FEvergreen.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 5e695e1c84..0654a9562e 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;