Skip to content

Commit

Permalink
Merge pull request #112 from thomasvargiu/fix/case-insensitive-variables
Browse files Browse the repository at this point in the history
Removed case-insensitive variables
  • Loading branch information
marcelog authored Nov 9, 2016
2 parents 63cb4f4 + 35b3f24 commit 3a15c47
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/PAMI/Message/Message.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ public function getCreatedDate()
*/
public function setVariable($key, $value)
{
$key = strtolower($key);
$this->variables[$key] = $value;
}

Expand All @@ -121,7 +120,6 @@ public function setVariable($key, $value)
*/
public function getVariable($key)
{
$key = strtolower($key);
if (!isset($this->variables[$key])) {
return null;
}
Expand Down

0 comments on commit 3a15c47

Please sign in to comment.