Skip to content

Commit

Permalink
FIX for #31237 #31524
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Oct 23, 2024
1 parent eb3bba0 commit 58c0b97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/societe/class/societe.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -2077,7 +2077,7 @@ public function fetch($rowid, $ref = '', $ref_ext = '', $barcode = '', $idprof1
$this->model_pdf = $obj->model_pdf;
$this->last_main_doc = $obj->last_main_doc;

$result = 1;
$result = $this->id;

// fetch optionals attributes and labels
$this->fetch_optionals();
Expand Down

1 comment on commit 58c0b97

@alsoft10
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@eldy this is perfect. You can go on.

Please sign in to comment.