mirror of
https://github.com/processwire/processwire.git
synced 2025-08-15 11:14:12 +02:00
Fix issue processwire/processwire-issues#1517
This commit is contained in:
@@ -142,7 +142,7 @@ class ProcessLanguageTranslator extends Process {
|
|||||||
$out = '';
|
$out = '';
|
||||||
|
|
||||||
foreach(array('language_files', 'language_files_site') as $fieldName) {
|
foreach(array('language_files', 'language_files_site') as $fieldName) {
|
||||||
if(!$this->language->$fieldName) continue; // language_files_site not installed
|
if(!$this->language || !$this->language->$fieldName) continue; // language_files_site not installed
|
||||||
if(count($this->language->$fieldName)) {
|
if(count($this->language->$fieldName)) {
|
||||||
$table->headerRow(array(
|
$table->headerRow(array(
|
||||||
$this->_x('file', 'table-header'),
|
$this->_x('file', 'table-header'),
|
||||||
|
Reference in New Issue
Block a user