'.$obj->rowid.'-'.$obj->ref.'-'.$obj->fk_entrepot.' -> '.$obj->psrowid.': '.$obj->reel.' != '.$obj->reelbatch;
+ // TODO
}
}
}
}
-// clean_linked_elements: Check and clean linked elements
+// set_empty_time_spent_amount
if ($ok && GETPOST('set_empty_time_spent_amount','alpha'))
{
print '
*** Set value of time spent without amount
';
@@ -901,7 +902,7 @@ if ($ok && GETPOST('set_empty_time_spent_amount','alpha'))
}
-// clean_old_module_entries: Clean data into const when files of module were removed without being
+// force_disable_of_modules_not_found
if ($ok && GETPOST('force_disable_of_modules_not_found','alpha'))
{
print '
*** Force modules not found to be disabled (only modules adding js, css or hooks can be detected as removed)
';
@@ -1072,7 +1073,7 @@ if ($ok && GETPOST('clean_perm_table','alpha'))
-// clean_linked_elements: Check and clean linked elements
+// force utf8 on tables
if ($ok && GETPOST('force_utf8_on_tables','alpha'))
{
print '
*** Force page code and collation of tables into utf8/utf8_unicode_ci (for mysql/mariadb only)
';
diff --git a/htdocs/product/stock/class/productlot.class.php b/htdocs/product/stock/class/productlot.class.php
index 8370e8ce080..2ac89def512 100644
--- a/htdocs/product/stock/class/productlot.class.php
+++ b/htdocs/product/stock/class/productlot.class.php
@@ -166,7 +166,7 @@ class Productlot extends CommonObject
$error++;
}
}
-
+
if (! $error && ! $notrigger) {
// Uncomment this and change MYOBJECT to your own tag if you
// want this action to call a trigger.
@@ -234,7 +234,7 @@ class Productlot extends CommonObject
//$this->ref = $obj->fk_product.'_'.$obj->batch;
$this->batch = $obj->batch;
- $this->entity = (!empty($obj->entity)?$obj->entity:$conf->entity); // Prevent "null" entity
+ $this->entity = (!empty($obj->entity)?$obj->entity:$conf->entity); // Prevent "null" entity
$this->fk_product = $obj->fk_product;
$this->eatby = $this->db->jdate($obj->eatby);
$this->sellby = $this->db->jdate($obj->sellby);
@@ -300,7 +300,7 @@ class Productlot extends CommonObject
// Check parameters
// Put here code to add a control on parameters values
-
+
if (empty($this->oldcopy))
{
$org=new self($this->db);
@@ -340,7 +340,7 @@ class Productlot extends CommonObject
$error++;
}
}
-
+
if (!$error && !$notrigger) {
// Uncomment this and change MYOBJECT to your own tag if you
// want this action calls a trigger.