[open-ils-commits] r11872 - trunk/Open-ILS/src/c-apps
svn at svn.open-ils.org
svn at svn.open-ils.org
Sat Jan 17 12:04:30 EST 2009
Author: miker
Date: 2009-01-17 12:04:27 -0500 (Sat, 17 Jan 2009)
New Revision: 11872
Modified:
trunk/Open-ILS/src/c-apps/oils_cstore.c
Log:
reversed logic ... DOH
Modified: trunk/Open-ILS/src/c-apps/oils_cstore.c
===================================================================
--- trunk/Open-ILS/src/c-apps/oils_cstore.c 2009-01-17 16:53:45 UTC (rev 11871)
+++ trunk/Open-ILS/src/c-apps/oils_cstore.c 2009-01-17 17:04:27 UTC (rev 11872)
@@ -2849,10 +2849,9 @@
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)) {
More information about the open-ils-commits
mailing list