mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 01:03:31 +02:00
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:
@@ -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'] );
|
||||
|
||||
Reference in New Issue
Block a user