fixed a bunch of GalleryAlbum/Photo tests

This commit is contained in:
Doug Bell 2007-12-26 00:39:08 +00:00
parent 6dfe05b119
commit af271b9f26
13 changed files with 225 additions and 248 deletions

View file

@ -185,10 +185,10 @@ attached to the session.
=cut
sub new {
my $class = shift;
my $session = shift;
my $user = shift || $session->user;
my $self = register($class);
my $class = shift;
my $session = shift;
my $user = shift || $session->user;
my $self = register($class);
$session{id $self} = $session;
$user{id $self} = $user;
return $self;