[Bps-public-commit] Net-Jifty branch, master, updated. 7cc3e7ece84999dbeb1ab52c74776b987a78178b
sartak at bestpractical.com
sartak at bestpractical.com
Tue May 26 23:17:54 EDT 2009
The branch, master has been updated
via 7cc3e7ece84999dbeb1ab52c74776b987a78178b (commit)
from 4f2119410d3a86fb26dbb8dd8c904555379584ed (commit)
Summary of changes:
lib/Net/Jifty.pm | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit 7cc3e7ece84999dbeb1ab52c74776b987a78178b
Author: Shawn M Moore <sartak at gmail.com>
Date: Tue May 26 23:17:39 2009 -0400
Fix use of meta-attribute removed from triggers
diff --git a/lib/Net/Jifty.pm b/lib/Net/Jifty.pm
index 331e0f8..597d0a7 100644
--- a/lib/Net/Jifty.pm
+++ b/lib/Net/Jifty.pm
@@ -20,10 +20,10 @@ has site => (
trigger => sub {
# this canonicalizes localhost to 127.0.0.1 because of an (I think)
# HTTP::Cookies bug. cookies aren't sent out for localhost.
- my ($self, $site, $attr) = @_;
+ my ($self, $site) = @_;
if ($site =~ s/\blocalhost\b/127.0.0.1/) {
- $attr->set_value($self, $site);
+ $self->site($site);
}
},
);
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list