mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
Fix GETPOST use should be avoid in classes
This commit is contained in:
@@ -2392,7 +2392,7 @@ class Commande extends CommonOrder
|
||||
* @param int $id Id of object (for a check)
|
||||
* @return int >0 if OK, 0 if nothing to do, <0 if KO
|
||||
*/
|
||||
public function deleteline($user = null, $lineid = 0, $id = 0)
|
||||
public function deleteLine($user = null, $lineid = 0, $id = 0)
|
||||
{
|
||||
if ($this->statut == self::STATUS_DRAFT) {
|
||||
$this->db->begin();
|
||||
|
||||
Reference in New Issue
Block a user