class vs className fix for the Gallery
This commit is contained in:
parent
7bfcdd1d8c
commit
0ff98ac46d
1 changed files with 1 additions and 1 deletions
|
|
@ -499,7 +499,7 @@ sub canEdit {
|
|||
|
||||
my $form = $self->session->form;
|
||||
|
||||
if ( $form->get('func') eq "add" && $form->get( 'class' )->isa( "WebGUI::Asset::Wobject::GalleryAlbum" ) ) {
|
||||
if ( $form->get('func') eq "add" && $form->get( 'className' )->isa( "WebGUI::Asset::Wobject::GalleryAlbum" ) ) {
|
||||
return $self->canAddFile( $userId );
|
||||
}
|
||||
elsif ( $form->get('func') eq "editSave" && $form->get('assetId') eq "new" && $form->get( 'class' )->isa( 'WebGUI::Asset::Wobject::GalleryAlbum' ) ) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue