mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-10 11:31:26 +01:00
Fix: var init
This commit is contained in:
@@ -1293,7 +1293,7 @@ function dol_print_address($address, $htmlid, $mode, $id)
|
|||||||
if ($address)
|
if ($address)
|
||||||
{
|
{
|
||||||
print nl2br($address);
|
print nl2br($address);
|
||||||
$showmap=0;
|
$showgmap=$showomap=0;
|
||||||
if ($mode=='thirdparty' && $conf->google->enabled && $conf->global->GOOGLE_ENABLE_GMAPS) $showgmap=1;
|
if ($mode=='thirdparty' && $conf->google->enabled && $conf->global->GOOGLE_ENABLE_GMAPS) $showgmap=1;
|
||||||
if ($mode=='contact' && $conf->google->enabled && $conf->global->GOOGLE_ENABLE_GMAPS_CONTACTS) $showgmap=1;
|
if ($mode=='contact' && $conf->google->enabled && $conf->global->GOOGLE_ENABLE_GMAPS_CONTACTS) $showgmap=1;
|
||||||
if ($mode=='member' && $conf->google->enabled && $conf->global->GOOGLE_ENABLE_GMAPS_MEMBERS) $showgmap=1;
|
if ($mode=='member' && $conf->google->enabled && $conf->global->GOOGLE_ENABLE_GMAPS_MEMBERS) $showgmap=1;
|
||||||
|
|||||||
Reference in New Issue
Block a user