mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix PhanTypeSuspiciousStringExpression
This commit is contained in:
parent
7f4c1fbd06
commit
f4c8bc5b1d
|
|
@ -3050,7 +3050,8 @@ class ExpeditionLigne extends CommonObjectLine
|
|||
// update lot
|
||||
|
||||
if (!empty($batch) && isModEnabled('productbatch')) {
|
||||
dol_syslog(get_class($this)."::update expedition batch id=$expedition_batch_id, batch_id=$batch_id, batch=$batch");
|
||||
$batch_id_str = $batch_id ?? 'null';
|
||||
dol_syslog(get_class($this)."::update expedition batch id=$expedition_batch_id, batch_id=$batch_id_str, batch=$batch");
|
||||
|
||||
if (empty($batch_id) || empty($this->fk_product)) {
|
||||
dol_syslog(get_class($this).'::update missing fk_origin_stock (batch_id) and/or fk_product', LOG_ERR);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user