Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0
This commit is contained in:
commit
096bd39ae7
@ -232,8 +232,7 @@ class CompanyBankAccount extends Account
|
||||
$sql .= " FROM ".MAIN_DB_PREFIX."societe_rib";
|
||||
if ($id) {
|
||||
$sql .= " WHERE rowid = ".((int) $id);
|
||||
}
|
||||
elseif ($socid) {
|
||||
} elseif ($socid > 0) {
|
||||
$sql .= " WHERE fk_soc = ".((int) $socid);
|
||||
if ($default > -1) {
|
||||
$sql .= " AND default_rib = ".((int) $default);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user