]> git.mxchange.org Git - friendica.git/commitdiff
Remove unused albumname input in album drop modal
authorHypolite Petovan <hypolite@mrpetovan.com>
Tue, 24 Dec 2019 20:19:08 +0000 (15:19 -0500)
committerHypolite Petovan <hypolite@mrpetovan.com>
Tue, 24 Dec 2019 20:19:08 +0000 (15:19 -0500)
- Addresses https://github.com/friendica/friendica/issues/8000#issuecomment-568798634

mod/photos.php

index 2f3e7d3117cde88b03989d9ac16dde3411ae5429..1d7ce7b3deda0c136457e3afa619baa070857215 100644 (file)
@@ -1035,14 +1035,10 @@ function photos_content(App $a)
                if ($cmd === 'drop') {
                        $drop_url = $a->query_string;
 
-                       $extra_inputs = [
-                               ['name' => 'albumname', 'value' => $_POST['albumname']],
-                       ];
-
                        return Renderer::replaceMacros(Renderer::getMarkupTemplate('confirm.tpl'), [
                                '$method' => 'post',
                                '$message' => L10n::t('Do you really want to delete this photo album and all its photos?'),
-                               '$extra_inputs' => $extra_inputs,
+                               '$extra_inputs' => [],
                                '$confirm' => L10n::t('Delete Album'),
                                '$confirm_url' => $drop_url,
                                '$confirm_name' => 'dropalbum',