mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-15 22:11:36 +01:00
WIP Complete module MRP
This commit is contained in:
@@ -7317,7 +7317,7 @@ abstract class CommonObject
|
||||
global $conf;
|
||||
|
||||
$queryarray = array();
|
||||
foreach ($this->fields as $field=>$info) // Loop on definition of fields
|
||||
foreach ($this->fields as $field => $info) // Loop on definition of fields
|
||||
{
|
||||
// Depending on field type ('datetime', ...)
|
||||
if ($this->isDate($info))
|
||||
@@ -7553,6 +7553,8 @@ abstract class CommonObject
|
||||
{
|
||||
$error++;
|
||||
$this->errors[] = $this->db->lasterror();
|
||||
} else {
|
||||
$this->ref = '(PROV'.$this->id.')';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user