Correct travis

This commit is contained in:
aspangaro 2015-07-04 16:13:44 +02:00
parent 7bf1ea2cac
commit 56831ecd16
2 changed files with 6 additions and 8 deletions

View File

@ -87,8 +87,6 @@ if ($action == 'update') {
$res = dolibarr_set_const($db, 'TAX_MODE_BUY_SERVICE', $value,'chaine',0,'',$conf->entity); $res = dolibarr_set_const($db, 'TAX_MODE_BUY_SERVICE', $value,'chaine',0,'',$conf->entity);
if (! $res > 0) $error++; if (! $res > 0) $error++;
// Others options // Others options
foreach ($list as $constname) { foreach ($list as $constname) {
$constvalue = GETPOST($constname, 'alpha'); $constvalue = GETPOST($constname, 'alpha');

View File

@ -2052,8 +2052,8 @@ class SupplierInvoiceLine extends CommonObjectLine
/** /**
* Deletes a line * Deletes a line
* *
* @param bool|int $notrigger * @param bool|int $notrigger 1=Does not execute triggers, 0= execute triggers
* @return int -1 KO; 1 OK * @return int 0 if KO, 1 if OK
*/ */
public function delete($notrigger = 0) public function delete($notrigger = 0)
{ {