[PR #125] [MERGED] Add cast to convert Song.length to float #1162

Closed
opened 2026-02-26 02:35:39 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/koel/koel/pull/125
Author: @mattsches
Created: 12/20/2015
Status: Merged
Merged: 12/21/2015
Merged by: @phanan

Base: masterHead: master


📝 Commits (1)

  • 2a0bd8f Add cast to convert Song.length to float

📊 Changes

1 file changed (+7 additions, -0 deletions)

View changed files

📝 app/Models/Song.php (+7 -0)

📄 Description

This fixes the problem that Song.length is returned as string.

Sorry that I messed up #118 :(


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/koel/koel/pull/125 **Author:** [@mattsches](https://github.com/mattsches) **Created:** 12/20/2015 **Status:** ✅ Merged **Merged:** 12/21/2015 **Merged by:** [@phanan](https://github.com/phanan) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`2a0bd8f`](https://github.com/koel/koel/commit/2a0bd8fcd81b7ce632caa23ef64ff9f1c8b65bda) Add cast to convert Song.length to float ### 📊 Changes **1 file changed** (+7 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `app/Models/Song.php` (+7 -0) </details> ### 📄 Description This fixes the problem that Song.length is returned as string. Sorry that I messed up #118 :( --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 02:35:39 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/koel-koel#1162
No description provided.