From 6f8ec206e102ccf609da97d7c9180878a42e3e3e Mon Sep 17 00:00:00 2001 From: z0rglub Date: Sat, 20 Sep 2003 16:57:48 +0000 Subject: The delete link was pointing a removed page git-svn-id: http://piwigo.org/svn/trunk@143 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/group_list.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'admin') 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' ); } -- cgit v1.2.3