diff --git a/htdocs/admin/taxes.php b/htdocs/admin/taxes.php index 3578c0bdddc..3f8ecca00d9 100644 --- a/htdocs/admin/taxes.php +++ b/htdocs/admin/taxes.php @@ -2,7 +2,7 @@ /* Copyright (C) 2004 Rodolphe Quiedeville * Copyright (C) 2004-2008 Laurent Destailleur * Copyright (C) 2005-2009 Regis Houssin - * Copyright (C) 2011-2013 Juanjo Menent + * Copyright (C) 2011-2013 Juanjo Menent * Copyright (C) 2015 Alexandre Spangaro * * This program is free software; you can redistribute it and/or modify @@ -87,8 +87,6 @@ if ($action == 'update') { $res = dolibarr_set_const($db, 'TAX_MODE_BUY_SERVICE', $value,'chaine',0,'',$conf->entity); if (! $res > 0) $error++; - - // Others options foreach ($list as $constname) { $constvalue = GETPOST($constname, 'alpha'); diff --git a/htdocs/fourn/class/fournisseur.facture.class.php b/htdocs/fourn/class/fournisseur.facture.class.php index 117a54f89c3..b623c7daa1f 100644 --- a/htdocs/fourn/class/fournisseur.facture.class.php +++ b/htdocs/fourn/class/fournisseur.facture.class.php @@ -8,7 +8,7 @@ * Copyright (C) 2013 Philippe Grand * Copyright (C) 2013 Florian Henry * Copyright (C) 2014-2015 Marcos GarcĂ­a - * Copyright (C) 2015 Bahfir Abbes + * Copyright (C) 2015 Bahfir Abbes * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -1987,8 +1987,8 @@ class SupplierInvoiceLine extends CommonObjectLine /** * Retrieves a supplier invoice line * - * @param int $rowid Line id - * @return int <0 KO; 0 NOT FOUND; 1 OK + * @param int $rowid Line id + * @return int <0 KO; 0 NOT FOUND; 1 OK */ public function fetch($rowid) { @@ -2052,8 +2052,8 @@ class SupplierInvoiceLine extends CommonObjectLine /** * Deletes a line * - * @param bool|int $notrigger - * @return int -1 KO; 1 OK + * @param bool|int $notrigger 1=Does not execute triggers, 0= execute triggers + * @return int 0 if KO, 1 if OK */ public function delete($notrigger = 0) {