From b12fb53ee2e1597f0246a961dc5ff29f8af04d47 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Thu, 19 May 2016 12:07:58 +0200 Subject: work work work work work --- inc/dictionary.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc/dictionary.inc.php') diff --git a/inc/dictionary.inc.php b/inc/dictionary.inc.php index 5679c52d..f5886bda 100644 --- a/inc/dictionary.inc.php +++ b/inc/dictionary.inc.php @@ -104,7 +104,7 @@ class Dictionary if ($category === false) { return 'No Category'; } - if (!preg_match('/^(\w+)\.(\w+)$/', $category, $out)) { + if (!preg_match('/^(\w+)\.(.*)$/', $category, $out)) { return 'Invalid Category ID format: ' . $category; } $string = self::translateFileModule($out[1], 'categories', $out[2]); -- cgit v1.2.3-55-g7522