Skip to content

Commit

Permalink
Fix to issue FreePBX#304
Browse files Browse the repository at this point in the history
Fixes the issue with FreePBX#304 where it asks for a protected property.
  • Loading branch information
InvisibleFrisbee authored Aug 29, 2017
1 parent 380fbd7 commit 05883d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions includes/callerid.php
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@
$superfecta->set_Prefix($superfecta->get_url_contents(str_replace("[thenumber]", $trunk_info['callerid'], $scheme_param['Prefix_URL'])));

$superfecta->outn("Prefix Url defined ...");
if ($superfecta->prefix != '') {
if ($superfecta->get_Prefix() != '') {
$superfecta->outn("returned: " . $superfecta->get_Prefix());
} else {
$superfecta->outn("result was empty");
Expand Down Expand Up @@ -356,4 +356,4 @@ function isutf8($string) {

function _utf8_decode($string) {
FnDeprecated(__FUNCTION__);
}
}

0 comments on commit 05883d6

Please sign in to comment.