projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Rerun
[fa-stable.git]
/
includes
/
lang
/
gettext.php
diff --git
a/includes/lang/gettext.php
b/includes/lang/gettext.php
index 16768d677df3041406fd406fc8c22688d7e1f1df..78e7b68720b1eccab49d0e47ce54015df9376f9f 100644
(file)
--- a/
includes/lang/gettext.php
+++ b/
includes/lang/gettext.php
@@
-127,6
+127,8
@@
class gettext_native_support
{
if ($path === false)
$path = "./locale";
+ if ($domain == "")
+ $domain = "?";
if ($version) {
// To avoid need for apache server restart after change of *.mo file
// we have to include file version as part of filename.