projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce7fad0
)
DataObjects/Core_template.php
author
Alan Knowles
<alan@roojs.com>
Fri, 4 Dec 2020 04:27:53 +0000
(12:27 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 4 Dec 2020 04:27:53 +0000
(12:27 +0800)
DataObjects/Core_template.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_template.php
b/DataObjects/Core_template.php
index
77a742a
..
0da9ff3
100644
(file)
--- a/
DataObjects/Core_template.php
+++ b/
DataObjects/Core_template.php
@@
-403,7
+403,7
@@
WHERE (
static $done = false;
$ff = HTML_FlexyFramework::get();
- $lang = $lang ? $lang :
$ff->locale
;
+ $lang = $lang ? $lang :
(isset($ff->locale) ? $ff->locale : 'en')
;
if (!empty($done[$clsname.':'.$lang])) {
return; // already sent headers and everything.
}