From 52fe579ce423cfdaa5fb3df6b490b827a49568cd Mon Sep 17 00:00:00 2001 From: naomiaro Date: Wed, 17 Nov 2010 18:08:46 -0500 Subject: [PATCH] making propel use fieldnames not php names in playlist getcontents --- backend/Playlist.php | 2 +- htmlUI/templates/playlist/editor.tpl | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) 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 @@