summaryrefslogtreecommitdiffstats
path: root/inc/dictionary.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/dictionary.inc.php')
-rw-r--r--inc/dictionary.inc.php2
1 files changed, 1 insertions, 1 deletions
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]);