mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Update card.php
This commit is contained in:
parent
aec5e41656
commit
bc353c19a9
|
|
@ -545,11 +545,9 @@ $formcompany = new FormCompany($db);
|
|||
|
||||
$countrynotdefined = $langs->trans("ErrorSetACountryFirst").' ('.$langs->trans("SeeAbove").')';
|
||||
|
||||
$objsoc = new Societe($db);
|
||||
if ($socid > 0) {
|
||||
$objsoc = new Societe($db);
|
||||
$objsoc->fetch($socid);
|
||||
} else {
|
||||
$objsoc = 0;
|
||||
}
|
||||
|
||||
if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user