From 5c5917773d63ce5389e4534cd94b2295ab76bd48 Mon Sep 17 00:00:00 2001 From: Dennis Schafroth Date: Sat, 9 Jul 2011 13:58:17 +0200 Subject: [PATCH] Fix facet icu rule setup. --- src/pazpar2_config.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; } } -- 1.7.10.4