Fixed "with the close or save and close button you get an exception"
This commit is contained in:
@@ -120,9 +120,9 @@ class FolderDocument extends BaseFolderDocument implements BreadcrumbInterface,
|
||||
* @param int $objectId the ID of the parent object
|
||||
* @return string the URL to redirect to after update from the back-office
|
||||
*/
|
||||
public function getRedirectionUrl($objectId)
|
||||
public function getRedirectionUrl()
|
||||
{
|
||||
return '/admin/folder/update/' . $objectId . '?current_tab=image';
|
||||
return '/admin/folder/update/' . $this->getFolderId();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user