From: Dennis Schafroth Date: Sat, 9 Jul 2011 11:58:17 +0000 (+0200) Subject: Fix facet icu rule setup. X-Git-Tag: v1.5.7~23 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=5c5917773d63ce5389e4534cd94b2295ab76bd48;p=pazpar2-moved-to-github.git Fix facet icu rule setup. --- diff --git a/src/pazpar2_config.c b/src/pazpar2_config.c index 8b94b63..d8d9569 100644 --- a/src/pazpar2_config.c +++ b/src/pazpar2_config.c @@ -570,15 +570,15 @@ static struct conf_service *service_create_static(struct conf_server *server, } else if (!strcmp((const char *) n->name, "facet")) { - if (service->mergekey_pct) + if (service->facet_pct) { - yaz_log(YLOG_LOG, "facety may not repeat in service"); + yaz_log(YLOG_LOG, "facet may not repeat in service"); return 0; } else { service->facet_pct = pp2_charset_create_xml(n); - if (!service->mergekey_pct) + if (!service->facet_pct) return 0; } }