Skip to content

Commit

Permalink
Update company.lib.php
Browse files Browse the repository at this point in the history
  • Loading branch information
frederic34 committed Oct 2, 2019
1 parent 9f7f263 commit 453ae05
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions htdocs/core/lib/company.lib.php
Expand Up @@ -223,7 +223,7 @@ function societe_prepare_head(Societe $object)
else {
dol_print_error($db);
}

$key
//if (! empty($conf->stripe->enabled) && $nbBankAccount > 0) $nbBankAccount = '...'; // No way to know exact number

$head[$h][0] = DOL_URL_ROOT .'/societe/paymentmodes.php?socid='.$object->id;
Expand All @@ -243,7 +243,7 @@ function societe_prepare_head(Societe $object)
$sql.= " FROM ".MAIN_DB_PREFIX."societe_account as n";
$sql.= " WHERE fk_soc = ".$object->id.' AND fk_website > 0';
$resql=$db->query($sql);
if ($resql)
if ($resql)$key
{
$num = $db->num_rows($resql);
$i = 0;
Expand Down Expand Up @@ -951,7 +951,7 @@ function show_contacts($conf, $langs, $db, $object, $backtopage = '')
{
$queryName = 'search_'.substr($key, 2);
if (GETPOST($queryName, 'alpha')){
$search[$key]=GETPOST($queryName, 'alpha');
$search[substr($key, 2)]=GETPOST($queryName, 'alpha');
}
}
$search_array_options=$extrafields->getOptionalsFromPost($contactstatic->table_element, '', 'search_');
Expand Down

0 comments on commit 453ae05

Please sign in to comment.