PHP 5.3 compatibility fix for my Sentry code

This commit is contained in:
Albert Santoni 2015-02-02 16:56:03 -05:00
parent 4f4aba172b
commit 147ded498b
1 changed files with 2 additions and 1 deletions

View File

@ -101,7 +101,8 @@ class SentryLogger
private static function getTags()
{
$tags = array();
$tags['Development Environment'] = Config::getConfig()["dev_env"];
$config = Config::getConfig();
$tags['Development Environment'] = $config["dev_env"];
return $tags;
}