From 418a609b732abe582f3db8faa5824954bb331765 Mon Sep 17 00:00:00 2001
From: Laurent Destailleur <eldy@destailleur.fr>
Date: Thu, 13 Aug 2015 03:06:25 +0200
Subject: [PATCH] Fix PHPCS

---
 htdocs/accountancy/class/accountingaccount.class.php | 9 +++++----
 htdocs/barcode/printsheet.php                        | 2 +-
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/htdocs/accountancy/class/accountingaccount.class.php b/htdocs/accountancy/class/accountingaccount.class.php
index 988eecfab84..cb7787610f8 100644
--- a/htdocs/accountancy/class/accountingaccount.class.php
+++ b/htdocs/accountancy/class/accountingaccount.class.php
@@ -61,14 +61,15 @@ class AccountingAccount extends CommonObject
 	/**
 	 * Load record in memory
 	 *
-	 * @param	int		$rowid				Id
-	 * @param	string	$account_number		Account number
-	 * @return 	int							<0 if KO, >0 if OK
+	 * @param	int		$rowid					Id
+	 * @param	string	$account_number			Account number
+	 * @param	int		$limittocurentchart		1=Do not load record if it is into another accounting system
+	 * @return 	int								<0 if KO, >0 if OK
 	 */
 	function fetch($rowid = null, $account_number = null, $limittocurentchart=0)
 	{
 		global $conf;
-		
+
 		if ($rowid || $account_number) {
 			$sql = "SELECT rowid, datec, tms, fk_pcg_version, pcg_type, pcg_subtype, account_number, account_parent, label, fk_user_author, fk_user_modif, active";
 			$sql.= " FROM " . MAIN_DB_PREFIX . "accountingaccount WHERE";
diff --git a/htdocs/barcode/printsheet.php b/htdocs/barcode/printsheet.php
index 7d15fc5949e..b535eb7765d 100644
--- a/htdocs/barcode/printsheet.php
+++ b/htdocs/barcode/printsheet.php
@@ -379,7 +379,7 @@ print '</div>';
 print '<input id="fillfromthirdparty" type="radio" '.((GETPOST("selectorforbarcode")=='fillfromthirdparty')?'checked ':'').'name="selectorforbarcode" value="fillfromthirdparty" class="radiobarcodeselect"> '.$langs->trans("FillBarCodeTypeAndValueFromThirdParty").' &nbsp; ';
 print '<br>';
 print '<div class="showforthirdpartyselector">';
-print $form->select_company(GETPOST('socid'), 'socid', '', 1, 0, 0, array(), 0 , 'minwidth300');
+print $form->select_company(GETPOST('socid'), 'socid', '', 1, 0, 0, array(), 0, 'minwidth300');
 print ' &nbsp; <input type="submit" id="submitthirdparty" name="submitthirdparty" class="button showforthirdpartyselector" value="'.(dol_escape_htmltag($langs->trans("GetBarCode"))).'">';
 print '</div>';
 
-- 
GitLab