Fix phpcs
This commit is contained in:
parent
eb0f4d9765
commit
625aab34d6
@ -1645,7 +1645,7 @@ class Product extends CommonObject
|
||||
|
||||
$testExit = array('multiprices','multiprices_ttc','multiprices_base_type','multiprices_min','multiprices_min_ttc','multiprices_tva_tx','multiprices_recuperableonly');
|
||||
|
||||
foreach ($testExit as $field){
|
||||
foreach ($testExit as $field) {
|
||||
if (!isset($this->$field[$level])) {
|
||||
return array();
|
||||
}
|
||||
|
||||
@ -3363,7 +3363,7 @@ class Societe extends CommonObject
|
||||
* @param int $counter Counter to protect against infinite loops
|
||||
* @return int <0 if KO, 0 if OK or 1 if at some level a parent company was the child to compare to
|
||||
*/
|
||||
public function validateFamilyTree($idparent, $idchild, $counter = 0)
|
||||
public function validateFamilyTree($idparent, $idchild, $counter = 0)
|
||||
{
|
||||
if ($counter > 100) {
|
||||
dol_syslog("Too high level of parent - child for company. May be an infinite loop ?", LOG_WARNING);
|
||||
|
||||
@ -931,7 +931,7 @@ while ($i < ($limit ? min($num, $limit) : $num)) {
|
||||
$totalarray['nbfield']++;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (!empty($arrayfields['u.office_phone']['checked'])) {
|
||||
print "<td>".dol_print_phone($obj->office_phone, $obj->country_code, 0, $obj->rowid, 'AC_TEL', ' ', 'phone')."</td>\n";
|
||||
if (!$i) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user