mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-05 17:32:25 +02:00
Php Warnings correction
git-svn-id: http://piwigo.org/svn/branches/release-1_3@319 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
+1
-1
@@ -116,7 +116,7 @@ while ( $row = mysql_fetch_array( $result ) )
|
||||
// file name
|
||||
$vtp->setVar( $sub, 'picture.file', $row['file'] );
|
||||
// is there an existing associated thumnail ?
|
||||
if ( $row['tn_ext'] != '' )
|
||||
if ( isset( $row['tn_ext'] ) and $row['tn_ext'] != '' )
|
||||
{
|
||||
$vtp->addSession( $sub, 'thumbnail' );
|
||||
$thumbnail = $conf['prefix_thumbnail'];
|
||||
|
||||
Reference in New Issue
Block a user