[Bps-public-commit] App-Changeloggr branch, master, updated. 7bd6e42ac05de0f5a10fab1f438132db18366a47

Alex M Vandiver alexmv at bestpractical.com
Wed Apr 1 15:19:45 EDT 2009


The branch, master has been updated
       via  7bd6e42ac05de0f5a10fab1f438132db18366a47 (commit)
      from  19b790d31249ebd357cbc6ad6ddf0e146ac3947a (commit)

Summary of changes:
 lib/App/Changeloggr/Model/ChangeCollection.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 7bd6e42ac05de0f5a10fab1f438132db18366a47
Author: Alex Vandiver <alexmv at mit.edu>
Date:   Wed Apr 1 15:19:40 2009 -0400

    Fix an arg to ->create; sqlite doesn't care that the integer was 'App::Changeloggr::Model::Changelog=HASH(0x9ffba40)'

diff --git a/lib/App/Changeloggr/Model/ChangeCollection.pm b/lib/App/Changeloggr/Model/ChangeCollection.pm
index b503e43..b28d936 100644
--- a/lib/App/Changeloggr/Model/ChangeCollection.pm
+++ b/lib/App/Changeloggr/Model/ChangeCollection.pm
@@ -32,7 +32,7 @@ sub create_from_parser {
 
         my ($ok, $msg) = $change->create(
             %$fields,
-            changelog_id => $changelog,
+            changelog_id => $changelog->id,
         );
 
         if ($ok) {

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list