From: Andreas Gohr Date: Tue, 31 May 2011 11:05:22 +0000 (+0200) Subject: fixed international prefix in callto: links X-Git-Tag: 0.8.0~11 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=refs%2Fremotes%2Forigin%2Fmaster;p=contagged fixed international prefix in callto: links --- diff --git a/inc/smarty/plugins/modifier.escape.php b/inc/smarty/plugins/modifier.escape.php index f32d7db..7d3230b 100644 --- a/inc/smarty/plugins/modifier.escape.php +++ b/inc/smarty/plugins/modifier.escape.php @@ -47,7 +47,7 @@ function smarty_modifier_escape($string, $esc_type = 'html', $char_set = 'ISO-88 return $return; case 'phone': - $return = str_replace('+','0',$string); + $return = str_replace('+','00',$string); $return = preg_replace('/[^0-9]+/','',$return); return $return;