From 41bcdcaf911348e468c8cccceaffa07cd1825fa7 Mon Sep 17 00:00:00 2001 From: Kelvin Zhang Date: Sat, 7 Nov 2015 17:01:53 +0000 Subject: [PATCH] #4: Cast track output formats to correct types --- app/Track.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Track.php b/app/Track.php index d61f0321..7afa25b5 100644 --- a/app/Track.php +++ b/app/Track.php @@ -243,7 +243,7 @@ class Track extends Model 'extension' => $trackFile->extension, 'url' => $trackFile->url, 'size' => $trackFile->size, - 'isCacheable' => $trackFile->is_cacheable + 'isCacheable' => (bool) $trackFile->is_cacheable ]; }