forward porting gallery bug fixes
This commit is contained in:
parent
e4006b3323
commit
1cfa9372b5
2 changed files with 2 additions and 0 deletions
|
|
@ -1104,6 +1104,7 @@ sub www_addAlbumService {
|
||||||
description => $form->get('synopsis','textarea'),
|
description => $form->get('synopsis','textarea'),
|
||||||
synopsis => $form->get('synopsis','textarea'),
|
synopsis => $form->get('synopsis','textarea'),
|
||||||
othersCanAdd => $form->get('othersCanAdd','yesNo'),
|
othersCanAdd => $form->get('othersCanAdd','yesNo'),
|
||||||
|
ownerUserId => $session->user->userId,
|
||||||
});
|
});
|
||||||
|
|
||||||
$album->requestAutoCommit;
|
$album->requestAutoCommit;
|
||||||
|
|
|
||||||
|
|
@ -1019,6 +1019,7 @@ sub www_addFileService {
|
||||||
title => $form->get('title','text'),
|
title => $form->get('title','text'),
|
||||||
description => $form->get('synopsis','textarea'),
|
description => $form->get('synopsis','textarea'),
|
||||||
synopsis => $form->get('synopsis','textarea'),
|
synopsis => $form->get('synopsis','textarea'),
|
||||||
|
ownerUserId => $session->user->userId,
|
||||||
});
|
});
|
||||||
|
|
||||||
my $storage = $file->getStorageLocation;
|
my $storage = $file->getStorageLocation;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue