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

sartak at bestpractical.com sartak at bestpractical.com
Mon Mar 30 15:14:59 EDT 2009


The branch, master has been updated
       via  caee82443328448ddc87835a53b99af502e36171 (commit)
      from  5d5fd1fd77e9b40625c11ae1f036953ece0303a5 (commit)

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

- Log -----------------------------------------------------------------
commit caee82443328448ddc87835a53b99af502e36171
Author: Shawn M Moore <sartak at gmail.com>
Date:   Mon Mar 30 15:14:34 2009 -0400

    Let JDBI call ->id, since we may eventually change primary key (hah!)

diff --git a/lib/App/Changeloggr/Model/Changelog.pm b/lib/App/Changeloggr/Model/Changelog.pm
index 70ddc41..762614b 100644
--- a/lib/App/Changeloggr/Model/Changelog.pm
+++ b/lib/App/Changeloggr/Model/Changelog.pm
@@ -56,7 +56,7 @@ sub parse_and_add_changes {
 sub changes {
     my $self = shift;
 
-    return M('ChangeCollection', changelog => $self->id);
+    return M('ChangeCollection', changelog => $self);
 }
 
 1;

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



More information about the Bps-public-commit mailing list