@@ -66,7 +66,7 @@ class sending_monitor
public function fail($card_no, $chname)
{
- if (!in_array($chname, $chname, sending_monitor::$stChannelNames)) {
+ if (!in_array($chname, sending_monitor::$stChannelNames)) {
return;
}