aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2003-09-20 16:57:48 +0000
committerz0rglub <z0rglub@piwigo.org>2003-09-20 16:57:48 +0000
commit6f8ec206e102ccf609da97d7c9180878a42e3e3e (patch)
treeea548f8eeb94bc996f7a13a0d51caedec55bfddb /admin
parenta738daa814856e3cde9810c5ee815c9a4e0ce020 (diff)
The delete link was pointing a removed page
git-svn-id: http://piwigo.org/svn/trunk@143 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/group_list.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/admin/group_list.php b/admin/group_list.php
index 4ea0104c7..2f61a2be2 100644
--- a/admin/group_list.php
+++ b/admin/group_list.php
@@ -37,10 +37,10 @@ if ( isset ( $_GET['delete'] ) and is_numeric( $_GET['delete'] ) )
{
$vtp->addSession( $sub, 'deletion' );
$vtp->setVar( $sub, 'deletion.name', $row['name'] );
- $yes_url = './admin.php?page=group&amp;delete='.$_GET['delete'];
+ $yes_url = './admin.php?page=group_list&amp;delete='.$_GET['delete'];
$yes_url.= '&amp;confirm=1';
$vtp->setVar( $sub, 'deletion.yes_url', add_session_id( $yes_url ) );
- $no_url = './admin.php?page=group';
+ $no_url = './admin.php?page=group_list';
$vtp->setVar( $sub, 'deletion.no_url', add_session_id( $no_url ) );
$vtp->closeSession( $sub, 'deletion' );
}
@@ -124,7 +124,7 @@ while ( $row = mysql_fetch_array( $result ) )
$vtp->setVar( $sub, 'group.name', $row['name'] );
$url = './admin.php?page=group_perm&amp;group_id='.$row['id'];
$vtp->setVar( $sub, 'group.permission_url', add_session_id( $url ) );
- $url = './admin.php?page=group&amp;delete='.$row['id'];
+ $url = './admin.php?page=group_list&amp;delete='.$row['id'];
$vtp->setVar( $sub, 'group.deletion_url', add_session_id( $url ) );
$vtp->closeSession( $sub, 'group' );
}