Fix media library (mass) delete.
Fixes #619. Signed-off-by: Thomas Hochstein <thh@inter.net>
This commit is contained in:
parent
6253c03ad9
commit
12bb9c0cc0
@ -132,7 +132,7 @@ switch ($serendipity['GET']['adminAction']) {
|
||||
break;
|
||||
}
|
||||
// case bulk multimove (leave the fake oldDir being send as an empty dir)
|
||||
if (isset($serendipity['POST']['newDir'])) {
|
||||
if (!empty($serendipity['POST']['newDir'])) {
|
||||
$messages = array();
|
||||
$multiMoveImages = $serendipity['POST']['multiDelete']; // The 'multiDelete' key name should better be renamed to 'multiCheck', but this would need to change 2k11/admin/serendipity_editor.js, images.inc.tpl, media_items.tpl, media_pane.tpl and this file
|
||||
unset($serendipity['POST']['multiDelete']);
|
||||
|
Loading…
x
Reference in New Issue
Block a user