Skip to content

Commit

Permalink
Update product.class.php
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Oct 16, 2019
1 parent 3429cb7 commit 4ca9fdd
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions htdocs/product/class/product.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -787,12 +787,12 @@ public function check_barcode($valuetotest, $typefortest)
* Update a record into database.
* If batch flag is set to on, we create records into llx_product_batch
*
* @param int $id Id of product
* @param User $user Object user making update
* @param int $notrigger Disable triggers
* @param string $action Current action for hookmanager ('add' or 'update')
* @param int $updatetype Update product type
* @return int 1 if OK, -1 if ref already exists, -2 if other error
* @param int $id Id of product
* @param User $user Object user making update
* @param int $notrigger Disable triggers
* @param string $action Current action for hookmanager ('add' or 'update')
* @param boolean $updatetype Update product type
* @return int 1 if OK, -1 if ref already exists, -2 if other error
*/
public function update($id, $user, $notrigger = false, $action = 'update', $updatetype = false)
{
Expand Down

0 comments on commit 4ca9fdd

Please sign in to comment.