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

sartak at bestpractical.com sartak at bestpractical.com
Wed Apr 29 17:53:19 EDT 2009


The branch, master has been updated
       via  166f0a0a23ab52440fb372ce5e624ee9fb0db963 (commit)
      from  35fe332b7ecd68df7f0c351d0e9ec78d972b3cec (commit)

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

- Log -----------------------------------------------------------------
commit 166f0a0a23ab52440fb372ce5e624ee9fb0db963
Author: Shawn M Moore <sartak at gmail.com>
Date:   Wed Apr 29 17:53:12 2009 -0400

    session->id not session_id

diff --git a/lib/App/Changeloggr/Model/Changelog.pm b/lib/App/Changeloggr/Model/Changelog.pm
index 9f0281d..ae0b397 100644
--- a/lib/App/Changeloggr/Model/Changelog.pm
+++ b/lib/App/Changeloggr/Model/Changelog.pm
@@ -93,7 +93,7 @@ sub choose_change {
     my $self = shift;
 
     my $user = App::Changeloggr::Model::User->new;
-    $user->load_or_create(session_id => Jifty->web->session_id);
+    $user->load_or_create(session_id => Jifty->web->session->id);
 
     # This will become more advanced in the future, picking a change that
     # the current user has not voted on yet, ordered by the confidence of the

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



More information about the Bps-public-commit mailing list