From eb4207dd1dfbff9419ac5a4ca48cf6ffbd666cc0 Mon Sep 17 00:00:00 2001 From: Martin Konecny Date: Wed, 23 May 2012 17:25:16 -0400 Subject: [PATCH] CC-3863: Stats should not send version number with extra characters -fixed --- airtime_mvc/application/models/Preference.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/airtime_mvc/application/models/Preference.php b/airtime_mvc/application/models/Preference.php index 369315f58..21e08be1b 100644 --- a/airtime_mvc/application/models/Preference.php +++ b/airtime_mvc/application/models/Preference.php @@ -414,8 +414,8 @@ class Application_Model_Preference $key == 'PLAYOUT_ENGINE_CPU_PERC' ) { if($key == 'AIRTIME_VERSION'){ // remove hash tag on the version string - list($version, $dump) = explode('+', $info[1]); - $systemInfoArray[$key] = $version; + $version = explode('+', $info[1]); + $systemInfoArray[$key] = $version[0]; }else{ $systemInfoArray[$key] = $info[1]; }