mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-02-21 18:36:31 +00:00
Update functions.php
This commit is contained in:
@@ -1675,7 +1675,7 @@ function number_pad($number,$n) {
|
||||
if (substr($string, -1) != "$") {
|
||||
$string = $string."$";
|
||||
}
|
||||
//add the round brackets ( and )
|
||||
//add the round brackets
|
||||
if (!strstr($string, '(')) {
|
||||
if (strstr($string, '^')) {
|
||||
$string = str_replace("^", "^".$prefix."(", $string);
|
||||
@@ -1683,8 +1683,6 @@ function number_pad($number,$n) {
|
||||
else {
|
||||
$string = '^('.$string;
|
||||
}
|
||||
}
|
||||
if (!strstr($string, ')')) {
|
||||
if (strstr($string, '$')) {
|
||||
$string = str_replace("$", ")$", $string);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user