diff options
author | z0rglub <z0rglub@piwigo.org> | 2003-09-20 16:57:48 +0000 |
---|---|---|
committer | z0rglub <z0rglub@piwigo.org> | 2003-09-20 16:57:48 +0000 |
commit | 6f8ec206e102ccf609da97d7c9180878a42e3e3e (patch) | |
tree | ea548f8eeb94bc996f7a13a0d51caedec55bfddb /admin/group_list.php | |
parent | a738daa814856e3cde9810c5ee815c9a4e0ce020 (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.php | 6 |
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&delete='.$_GET['delete']; + $yes_url = './admin.php?page=group_list&delete='.$_GET['delete']; $yes_url.= '&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&group_id='.$row['id']; $vtp->setVar( $sub, 'group.permission_url', add_session_id( $url ) ); - $url = './admin.php?page=group&delete='.$row['id']; + $url = './admin.php?page=group_list&delete='.$row['id']; $vtp->setVar( $sub, 'group.deletion_url', add_session_id( $url ) ); $vtp->closeSession( $sub, 'group' ); } |