From: Hypolite Petovan Date: Tue, 24 Dec 2019 20:19:08 +0000 (-0500) Subject: Remove unused albumname input in album drop modal X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=66e9f0e0da788519344625a539c0f3dd3fc50179;p=friendica.git Remove unused albumname input in album drop modal - Addresses https://github.com/friendica/friendica/issues/8000#issuecomment-568798634 --- diff --git a/mod/photos.php b/mod/photos.php index 2f3e7d3117..1d7ce7b3de 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -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',