Fix travis
This commit is contained in:
parent
6aea67a5b9
commit
f6b216eafc
2 changed files with 0 additions and 2 deletions
|
|
@ -5744,7 +5744,6 @@ abstract class CommonObject
|
|||
|
||||
foreach($new_array_languages as $key => $langcodearray) { // $key = 'name', 'town', ...
|
||||
foreach($langcodearray as $langcode => $value) {
|
||||
|
||||
$sql_del = "DELETE FROM ".MAIN_DB_PREFIX."object_lang";
|
||||
$sql_del .= " WHERE fk_object = ".$this->id." AND property = '".$this->db->escape($key)."' AND type_object = '".$this->db->escape($table_element)."'";
|
||||
$sql_del .= " AND lang = '".$this->db->escape($langcode)."'";
|
||||
|
|
|
|||
|
|
@ -1551,7 +1551,6 @@ function dol_add_file_process($upload_dir, $allowoverwrite = 0, $donotupdatesess
|
|||
{
|
||||
$destfull = $upload_dir."/".preg_replace('/__file__/', $TFile['name'][$i], $savingdocmask);
|
||||
$destfile = preg_replace('/__file__/', $TFile['name'][$i], $savingdocmask);
|
||||
|
||||
}
|
||||
|
||||
// dol_sanitizeFileName the file name and lowercase extension
|
||||
|
|
|
|||
Loading…
Reference in a new issue