Skip to content

Commit

Permalink
fix php warning supplier proposal class (#31872)
Browse files Browse the repository at this point in the history
Co-authored-by: Hystepik <[email protected]>
  • Loading branch information
Hystepik and Hystepik authored Nov 15, 2024
1 parent a0eb551 commit 1637319
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/supplier_proposal/class/supplier_proposal.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1310,7 +1310,7 @@ public function fetch($rowid, $ref = '')
$this->cond_reglement = $obj->cond_reglement;
$this->cond_reglement_doc = $obj->cond_reglement_libelle_doc;

$this->extraparams = (array) json_decode($obj->extraparams, true);
$this->extraparams = (array) (!empty($obj->extraparams) ? json_decode($obj->extraparams, true) : array());

$this->user_author_id = $obj->fk_user_author;
$this->user_validation_id = $obj->fk_user_valid;
Expand Down

0 comments on commit 1637319

Please sign in to comment.