File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ function fixbutton(string $message, array $params) {
171171 $ actualToken = $ sms_destination ['messaging_data ' ]->clientSecret ;
172172 $ desiredToken = $ _SESSION ['sms ' ]['acceleratenetworks_inbound_token ' ]['text ' ];
173173 if ($ actualToken != $ desiredToken ) {
174- $ errors [] = "token incorrect: " . $ actualToken . " -> " . $ desiredToken ;
174+ $ errors [] = "token incorrect: " ;
175175 }
176176
177177 if (sizeof ($ errors ) > 0 ) {
@@ -180,14 +180,14 @@ function fixbutton(string $message, array $params) {
180180 echo "<li> " .$ error ."</li> " ;
181181 }
182182 echo "</ul> " ;
183- echo fixbutton (" upstream routing " , $ fix );
183+ echo fixbutton ($ trimmed_number . " upstream routing " , $ fix );
184184 echo "</td> " ;
185185 } else {
186186 echo "<td class='success'>inbound SMS routed correctly</td> " ;
187187 }
188188 unset($ errors );
189189 } else if ($ trimmed_number ) {
190- echo "<td class='error'> " .fixbutton (" number not routed upstream " , $ fix )."</td> " ;
190+ echo "<td class='error'> " .fixbutton ($ trimmed_number . " not routed upstream " , $ fix )."</td> " ;
191191 } else {
192192 echo "<td>-</td> " ;
193193 }
You can’t perform that action at this time.
0 commit comments