projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge commit 'origin/fusionax' into account
[platal.git]
/
plugins
/
function.display_address.php
diff --git
a/plugins/function.display_address.php
b/plugins/function.display_address.php
index
c699589
..
5d40737
100644
(file)
--- a/
plugins/function.display_address.php
+++ b/
plugins/function.display_address.php
@@
-1,6
+1,6
@@
<?php
/***************************************************************************
<?php
/***************************************************************************
- * Copyright (C) 2003-200
8
Polytechnique.org *
+ * Copyright (C) 2003-200
9
Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-38,8
+38,8
@@
function display_address_isIdentity($idt, $value, $test_reverse = true)
function smarty_function_display_address($param, &$smarty)
{
function smarty_function_display_address($param, &$smarty)
{
- require_once('geo
loc
.inc.php');
- $txtad =
get_address_text($param['adr'])
;
+ require_once('geo
coding
.inc.php');
+ $txtad =
$param['adr']['text']
;
if (!$txtad && !$param['adr']['tels'] && !count($param['adr']['tels'])) {
return "";
}
if (!$txtad && !$param['adr']['tels'] && !count($param['adr']['tels'])) {
return "";
}