diff options
Diffstat (limited to 'ratatoeskr/backend.php')
-rw-r--r-- | ratatoeskr/backend.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ratatoeskr/backend.php b/ratatoeskr/backend.php index 78ef83c..983fe2b 100644 --- a/ratatoeskr/backend.php +++ b/ratatoeskr/backend.php @@ -299,6 +299,14 @@ $backend_subactions = url_action_subactions(array( } } + if(!isset($article->title[$editlang])) + { + $langs_available = array(); + foreach($article->title as $lang => $_) + $langs_available[] = $lang; + $editlang = $langs_available[0]; + } + foreach(array( "urlname" => "urlname", "section" => "article_section", |