Fix: var init

This commit is contained in:
Laurent Destailleur
2012-05-14 01:39:59 +02:00
parent 55e21b85c7
commit 89836cea29

View File

@@ -1293,7 +1293,7 @@ function dol_print_address($address, $htmlid, $mode, $id)
if ($address)
{
print nl2br($address);
$showmap=0;
$showgmap=$showomap=0;
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=='member' && $conf->google->enabled && $conf->global->GOOGLE_ENABLE_GMAPS_MEMBERS) $showgmap=1;