Update entrepot.class.php

This commit is contained in:
atm-quentin 2016-09-26 14:41:30 +02:00 committed by GitHub
parent bf0556bdf1
commit 4d828499ac

View File

@ -224,7 +224,7 @@ class Entrepot extends CommonObject
if (! $error && empty($notrigger)) if (! $error && empty($notrigger))
{ {
// Call trigger // Call trigger
$result=$this->call_trigger('STOCK_DELETE',$user); $result=$this->call_trigger('WAREHOUSE_DELETE',$user);
if ($result < 0) { $error++; } if ($result < 0) { $error++; }
// End call triggers // End call triggers
} }