From 147ded498b6bbe224115b60ed656c10a5ddd4c2b Mon Sep 17 00:00:00 2001 From: Albert Santoni Date: Mon, 2 Feb 2015 16:56:03 -0500 Subject: [PATCH] PHP 5.3 compatibility fix for my Sentry code --- airtime_mvc/application/logging/SentryLogging.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/airtime_mvc/application/logging/SentryLogging.php b/airtime_mvc/application/logging/SentryLogging.php index e3c87b700..06ae7a9cc 100644 --- a/airtime_mvc/application/logging/SentryLogging.php +++ b/airtime_mvc/application/logging/SentryLogging.php @@ -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; }