Commit 84f69039 authored by Jonny Bradley's avatar Jonny Bradley

[FIX] lang: Allow a page language to be set back to unknown if needed in...

[FIX] lang: Allow a page language to be set back to unknown if needed in update_page (thanks luciash)
parent 3e42924d
......@@ -4792,10 +4792,9 @@ class TikiLib extends TikiDb_Bridge
'is_html' => $html,
'wysiwyg' => $wysiwyg,
'wiki_authors_style' => $wiki_authors_style,
'lang' => $lang,
);
if ($lang) {
$queryData['lang'] = $lang;
}
if ($hash !== null) {
if (!empty($hash['lock_it']) && ($hash['lock_it'] == 'y' || $hash['lock_it'] == 'on')) {
$queryData['flag'] = 'L';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment