Fix "elfield" typo noted by Ben Ostrowsky
[working/Evergreen.git] / Open-ILS / src / c-apps / oils_sql.c
index eb3f48b..e72bb49 100644 (file)
@@ -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;