Skip to content

Commit

Permalink
FREEPBX-12003 Fix array index
Browse files Browse the repository at this point in the history
  • Loading branch information
jfinstrom authored and tm1000 committed Apr 18, 2016
1 parent 36116ec commit 8e7388b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sources/source-TrueCNAM.module
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class TrueCNAM extends superfecta_base{
$this->DebugPrint("TrueCNAM requires a registered account.");
return '';
}
if($run_param['TrueSPAM']){
if($run_param['TrueSpam']){
$this->DebugPrint("TrueSpam enabled");
$resp_type = 'extended';
}else{
Expand All @@ -70,7 +70,7 @@ class TrueCNAM extends superfecta_base{
$this->DebugPrint("Lookup Error");
$this->DebugPrint($data['error_message']);
}
if($run_param['TrueSPAM']){
if($run_param['TrueSpam']){
if($data['spam_score_match']){
$this->DebugPrint("TrueSpam Score availible");
if($data['spam_score'] > $run_param['TrueSpam_Threshold']){
Expand Down

0 comments on commit 8e7388b

Please sign in to comment.