diff --git a/backend/Playlist.php b/backend/Playlist.php index 5f67b4b1e..af8e81ced 100644 --- a/backend/Playlist.php +++ b/backend/Playlist.php @@ -343,7 +343,7 @@ class Playlist { ->find(); foreach ($rows as $row) { - $files[] = $row->toArray(BasePeer::TYPE_PHPNAME, true, true); + $files[] = $row->toArray(BasePeer::TYPE_FIELDNAME, true, true); } return $files; diff --git a/htmlUI/templates/playlist/editor.tpl b/htmlUI/templates/playlist/editor.tpl index b39e40121..cf686ba3f 100644 --- a/htmlUI/templates/playlist/editor.tpl +++ b/htmlUI/templates/playlist/editor.tpl @@ -19,29 +19,29 @@