Skip to content

Commit a7b06eb

Browse files
committed
show some data, hide other data
1 parent 58f6da3 commit a7b06eb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

admin.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)