X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=plugins%2Ffunction.display_address.php;h=25c991e16f1e9e0d985a45c3993d5eb6dac78585;hb=787bb3d745141f2f85bd947ad7dd775d2c63f908;hp=c498d9068993b1f5b30a9b1e29dcc782834a4125;hpb=7568a515d7e3c4c992dd98b784165aa36b575ff9;p=platal.git diff --git a/plugins/function.display_address.php b/plugins/function.display_address.php index c498d90..25c991e 100644 --- a/plugins/function.display_address.php +++ b/plugins/function.display_address.php @@ -30,8 +30,8 @@ function display_address_isIdentity($idt, $value, $test_reverse = true) return true; } - if ($test_reverse) { - return display_address_isIdentity($idt, implode(' ', array_reverse(explode(' ', $value))), false); + if ($test_reverse) { + return display_address_isIdentity($idt, implode(' ', array_reverse(explode(' ', $value))), false); } return false; } @@ -82,7 +82,7 @@ function smarty_function_display_address($param, &$smarty) if ($param['adr']['mobile']) $txthtml .= "
\nTél : \n".$param['adr']['mobile']."\n
\n"; if ($param['adr']['tels'] && count($param['adr']['tels'])) { - foreach ($param['adr']['tels'] as $tel) + foreach ($param['adr']['tels'] as $tel) $txthtml .= "
\n".$tel['tel_type']." : \n".$tel['tel']."\n
\n"; } if (!$param['nodiv']) {