[Jifty-commit] r904 - in wifty/trunk: lib/Wifty/Model

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Sun Apr 23 17:48:11 EDT 2006


Author: jesse
Date: Sun Apr 23 17:48:10 2006
New Revision: 904

Modified:
   wifty/trunk/   (props changed)
   wifty/trunk/lib/Wifty/Model/Page.pm

Log:
 r11809 at hualien:  jesse | 2006-04-23 17:47:11 -0400
 * We were using an illegal method call
 


Modified: wifty/trunk/lib/Wifty/Model/Page.pm
==============================================================================
--- wifty/trunk/lib/Wifty/Model/Page.pm	(original)
+++ wifty/trunk/lib/Wifty/Model/Page.pm	Sun Apr 23 17:48:10 2006
@@ -109,7 +109,7 @@
 sub set_content {
     my $self    = shift;
     my $content = shift;
-    my ( $val, $msg ) = $self->SUPER::set_content($content);
+    my ( $val, $msg ) = $self->_set(column => 'content', value => $content);
     $self->_add_revision( content => $content,
                     updated_by =>( $self->current_user? $self->current_user->user_object : undef )
                 );


More information about the Jifty-commit mailing list