fix validation
This commit is contained in:
@@ -17,7 +17,7 @@ try {
|
|||||||
$fields["category"] = $category;
|
$fields["category"] = $category;
|
||||||
$fields["lang"] = SYS_LANG;
|
$fields["lang"] = SYS_LANG;
|
||||||
$fields["workspace"] = config("system.workspace");
|
$fields["workspace"] = config("system.workspace");
|
||||||
if (G::browserCacheFilesGetUid()) {
|
if (!empty(G::browserCacheFilesGetUid())) {
|
||||||
$fields["translation"] = "/js/ext/translation." . SYS_LANG . "." . G::browserCacheFilesGetUid() . ".js";
|
$fields["translation"] = "/js/ext/translation." . SYS_LANG . "." . G::browserCacheFilesGetUid() . ".js";
|
||||||
} else {
|
} else {
|
||||||
$fields["translation"] = "/js/ext/translation." . SYS_LANG . ".js";
|
$fields["translation"] = "/js/ext/translation." . SYS_LANG . ".js";
|
||||||
|
|||||||
Reference in New Issue
Block a user