Skip to content

Commit

Permalink
bug 2168 fixed: Batch Manager, ability to remove author/title/date cr…
Browse files Browse the repository at this point in the history
…eation

git-svn-id: http://piwigo.org/svn/trunk@9035 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information
plegall committed Feb 1, 2011
1 parent 4a955f7 commit 92e85ae
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions admin/batch_manager_global.php
Expand Up @@ -210,6 +210,11 @@
// author
if ('author' == $action)
{
if (isset($_POST['remove_author']))
{
$_POST['author'] = null;
}

$datas = array();
foreach ($collection as $image_id)
{
Expand All @@ -232,6 +237,11 @@
// title
if ('title' == $action)
{
if (isset($_POST['remove_title']))
{
$_POST['title'] = null;
}

$datas = array();
foreach ($collection as $image_id)
{
Expand Down Expand Up @@ -261,6 +271,11 @@
$_POST['date_creation_day']
);

if (isset($_POST['remove_date_creation']))
{
$date_creation = null;
}

$datas = array();
foreach ($collection as $image_id)
{
Expand Down

0 comments on commit 92e85ae

Please sign in to comment.