aboutsummaryrefslogtreecommitdiffstats
path: root/admin/group_list.php
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2004-01-30 22:48:30 +0000
committerz0rglub <z0rglub@piwigo.org>2004-01-30 22:48:30 +0000
commit6119c01fbb89224024e4ea12b2bc58352eab30ac (patch)
tree4d4d6c19589291b5584320a2f30c1444be6cb2ed /admin/group_list.php
parentf7527692b3ec6303b01dc84d4de335fda359bb00 (diff)
Php warnings correction
git-svn-id: http://piwigo.org/svn/branches/release-1_3@333 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/group_list.php')
-rw-r--r--admin/group_list.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/group_list.php b/admin/group_list.php
index 2f61a2be2..840fefbe7 100644
--- a/admin/group_list.php
+++ b/admin/group_list.php
@@ -33,7 +33,7 @@ if ( isset ( $_GET['delete'] ) and is_numeric( $_GET['delete'] ) )
$query.= ';';
$row = mysql_fetch_array( mysql_query( $query ) );
// confirm group deletion ?
- if ( $_GET['confirm'] != 1 )
+ if ( !isset( $_GET['confirm'] ) or $_GET['confirm'] != 1 )
{
$vtp->addSession( $sub, 'deletion' );
$vtp->setVar( $sub, 'deletion.name', $row['name'] );