diff --git a/src/PAMI/Message/IncomingMessage.php b/src/PAMI/Message/IncomingMessage.php index 3fc41fc00..970ac06f2 100644 --- a/src/PAMI/Message/IncomingMessage.php +++ b/src/PAMI/Message/IncomingMessage.php @@ -157,9 +157,9 @@ public function getStatusVariables($channel = null) { if (is_null($channel)) { if (!isset($this->keys['channel'])) { - return $this->getChannelVariables('default'); + return $this->getStatusVariables('default'); } else { - return $this->getChannelVariables($this->keys['channel']); + return $this->getStatusVariables($this->keys['channel']); } } else { $channel = strtolower($channel);