Php warnings correction

git-svn-id: http://piwigo.org/svn/branches/release-1_3@333 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
z0rglub
2004-01-30 22:48:30 +00:00
parent f7527692b3
commit 6119c01fbb
2 changed files with 5 additions and 7 deletions
+1 -1
View File
@@ -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'] );