mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 09:13:02 +02:00
PHP Warning correction
git-svn-id: http://piwigo.org/svn/branches/release-1_3@406 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -107,8 +107,11 @@ function get_user_plain_structure()
|
||||
foreach ( $infos as $info ) {
|
||||
if ( $info == 'uc.date_last' )
|
||||
{
|
||||
list($year,$month,$day) = explode( '-', $row['date_last'] );
|
||||
$category['date_last'] = mktime(0,0,0,$month,$day,$year);
|
||||
if ( isset( $row['date_last'] ) and $row['date_last'] != '' )
|
||||
{
|
||||
list($year,$month,$day) = explode( '-', $row['date_last'] );
|
||||
$category['date_last'] = mktime(0,0,0,$month,$day,$year);
|
||||
}
|
||||
}
|
||||
else if ( isset( $row[$info] ) ) $category[$info] = $row[$info];
|
||||
else $category[$info] = '';
|
||||
|
||||
Reference in New Issue
Block a user