From e80650f3c88c5791d9813342962742e701e89570 Mon Sep 17 00:00:00 2001 From: miker Date: Sat, 17 Jan 2009 17:04:27 +0000 Subject: [PATCH] reversed logic ... DOH git-svn-id: svn://svn.open-ils.org/ILS/trunk@11872 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/c-apps/oils_cstore.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Open-ILS/src/c-apps/oils_cstore.c b/Open-ILS/src/c-apps/oils_cstore.c index a19c6ffe3b..cf56c8c293 100644 --- a/Open-ILS/src/c-apps/oils_cstore.c +++ b/Open-ILS/src/c-apps/oils_cstore.c @@ -2849,10 +2849,9 @@ static char* buildSELECT ( jsonObject* search_hash, jsonObject* order_hash, osrf if (locale) { char* i18n = osrfHashGet(field, "i18n"); - if ( !( - jsonBoolIsTrue( jsonObjectGetKey( order_hash, "no_i18n" ) ) || - ((int)jsonObjectGetNumber(jsonObjectGetKey( order_hash, "no_i18n" ))) == 1 // support 1/0 for perl's sake - ) + if ( + jsonBoolIsTrue( jsonObjectGetKey( order_hash, "no_i18n" ) ) || + ((int)jsonObjectGetNumber(jsonObjectGetKey( order_hash, "no_i18n" ))) == 1 // support 1/0 for perl's sake ) i18n = NULL; if ( i18n && !strncasecmp("true", i18n, 4)) { -- 2.11.0