Fixing image uploads
This commit is contained in:
parent
0010134059
commit
b2ba305e0f
1 changed files with 1 additions and 3 deletions
|
|
@ -535,15 +535,13 @@ sub www_addImageSave {
|
|||
title => $filename,
|
||||
menuTitle => $filename,
|
||||
templateId => 'PBtmpl0000000000000088',
|
||||
url => $base->get("url").'/'.$filename,
|
||||
groupIdEdit => $session->form->process('groupIdEdit') || $base->get('groupIdEdit'),
|
||||
groupIdView => $session->form->process('groupIdView') || $base->get('groupIdView'),
|
||||
ownerUserId => $session->var->get('userId'),
|
||||
ownerUserId => $session->user-userId,
|
||||
isHidden => 1,
|
||||
});
|
||||
}
|
||||
$session->http->setRedirect($base->getUrl('op=formHelper;class=HTMLArea;sub=imageTree'));
|
||||
$imageObj->delete;
|
||||
return undef;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue