Skip to content

Commit

Permalink
fix typo on previous commit
Browse files Browse the repository at this point in the history
Signed-off-by: Syco <syco@torann>
  • Loading branch information
Syco committed Nov 22, 2018
1 parent 783f3dd commit f659307
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/PAMI/Message/IncomingMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f659307

Please sign in to comment.