FIX Export of website generates a package that contains a sql error
This commit is contained in:
parent
b29fc5552d
commit
bbf219fd7b
@ -1091,8 +1091,8 @@ class Website extends CommonObject
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$line .= "\n-- For Dolibarr v14+ --\n";
|
$line = "\n-- For Dolibarr v14+ --;\n";
|
||||||
$line .= "UPDATE llx_website SET fk_default_lang = '".$this->db->escape($this->fk_default_lang)."' WHERE rowid = __WEBSITE_ID__;\n";
|
$line .= "UPDATE llx_website SET lang = '".$this->db->escape($this->fk_default_lang)."' WHERE rowid = __WEBSITE_ID__;\n";
|
||||||
$line .= "UPDATE llx_website SET otherlang = '".$this->db->escape($this->otherlang)."' WHERE rowid = __WEBSITE_ID__;\n";
|
$line .= "UPDATE llx_website SET otherlang = '".$this->db->escape($this->otherlang)."' WHERE rowid = __WEBSITE_ID__;\n";
|
||||||
$line .= "\n";
|
$line .= "\n";
|
||||||
fputs($fp, $line);
|
fputs($fp, $line);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user