From 6276f9b564bff197bd1a0738665a6d0ba2ca8821 Mon Sep 17 00:00:00 2001
From: Peter Deltchev <peter@deltchev.com>
Date: Wed, 12 Aug 2015 20:10:19 -0700
Subject: [PATCH] T335: Fix the inability to publish official song remixes in
 production.

---
 app/scripts/app/controllers/account-track.coffee | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/scripts/app/controllers/account-track.coffee b/app/scripts/app/controllers/account-track.coffee
index 946aadfb..21017781 100644
--- a/app/scripts/app/controllers/account-track.coffee
+++ b/app/scripts/app/controllers/account-track.coffee
@@ -116,7 +116,7 @@ angular.module('ponyfm').controller "account-track", [
 				is_vocal: track.is_vocal
 				license_id: track.license_id
 				genre_id: track.genre_id
-				track_type_id: track.track_type_id
+				track_type_id: parseInt(track.track_type_id)
 				released_at: if track.released_at then track.released_at.date else ''
 				remove_cover: false
 				cover: track.cover_url
@@ -144,4 +144,4 @@ angular.module('ponyfm').controller "account-track", [
 		$scope.$on '$locationChangeStart', (e) ->
 			return if !$scope.isDirty
 			e.preventDefault() if !confirm('Are you sure you want to leave this page without saving your changes?')
-]
\ No newline at end of file
+]