about summary refs log tree commit diff
path: root/laravel/app/Http
diff options
context:
space:
mode:
Diffstat (limited to 'laravel/app/Http')
-rw-r--r--laravel/app/Http/Controllers/SongController.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/laravel/app/Http/Controllers/SongController.php b/laravel/app/Http/Controllers/SongController.php
index 301e469..12c76b8 100644
--- a/laravel/app/Http/Controllers/SongController.php
+++ b/laravel/app/Http/Controllers/SongController.php
@@ -188,6 +188,7 @@ class SongController extends Controller
 
     private function z_transparray( $transp )
     {
+        $transp = (int)$transp;
         $chords =
             array( "C","C#","D","D#","E","F","F#","G","G#","A","Bb","B" );
         $newchords = array();