fix : Various misspelling class (eclipse Oxygen standard PHP control)

This commit is contained in:
florian HENRY 2017-07-24 09:02:32 +02:00
parent 9043cf759b
commit b9d5f4ba10
5 changed files with 10 additions and 10 deletions

View File

@ -1260,7 +1260,7 @@ class BookKeeping extends CommonObject
global $user; global $user;
$error = 0; $error = 0;
$object = new Accountingbookkeeping($this->db); $object = new BookKeeping($this->db);
$this->db->begin(); $this->db->begin();

View File

@ -236,7 +236,7 @@ class BankAccounts extends DolibarrApi
function _validate($data) function _validate($data)
{ {
$account = array(); $account = array();
foreach (Accounts::$FIELDS as $field) { foreach (BankAccounts::$FIELDS as $field) {
if (! isset($data[$field])) if (! isset($data[$field]))
throw new RestException(400, "$field field missing"); throw new RestException(400, "$field field missing");
$account[$field] = $data[$field]; $account[$field] = $data[$field];

View File

@ -211,7 +211,7 @@ class doc_generic_contract_odt extends ModelePDFContract
if (! is_object($object)) if (! is_object($object))
{ {
$id = $object; $id = $object;
$object = new Contract($this->db); $object = new Contrat($this->db);
$result=$object->fetch($id); $result=$object->fetch($id);
if ($result < 0) if ($result < 0)
{ {

View File

@ -252,7 +252,7 @@ class doc_generic_proposal_odt extends ModelePDFPropales
if (! is_object($object)) if (! is_object($object))
{ {
$id = $object; $id = $object;
$object = new Propale($this->db); $object = new Propal($this->db);
$result=$object->fetch($id); $result=$object->fetch($id);
if ($result < 0) if ($result < 0)
{ {

View File

@ -492,7 +492,7 @@ if ($resql)
if (! GETPOST('cancel')) if (! GETPOST('cancel'))
{ {
$objecttmp=new FactureFourn($db); $objecttmp=new FactureFournisseur($db);
$listofselectedid=array(); $listofselectedid=array();
$listofselectedthirdparties=array(); $listofselectedthirdparties=array();
$listofselectedref=array(); $listofselectedref=array();