mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-06 16:53:34 +02:00
Php Warnings
git-svn-id: http://piwigo.org/svn/branches/release-1_3@299 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -198,7 +198,6 @@ if ( isset( $_POST['submit'] ) and !isset( $_GET['waiting_id'] ) )
|
||||
$result = validate_upload( $path, $conf['upload_maxfilesize'],
|
||||
$conf['upload_maxwidth'],
|
||||
$conf['upload_maxheight'] );
|
||||
$upload_type = $result['type'];
|
||||
for ( $j = 0; $j < sizeof( $result['error'] ); $j++ )
|
||||
{
|
||||
array_push( $error, $result['error'][$j] );
|
||||
@@ -240,7 +239,6 @@ if ( isset( $_POST['submit'] ) and isset( $_GET['waiting_id'] ) )
|
||||
$result = validate_upload( $path, $conf['upload_maxfilesize'],
|
||||
$conf['upload_maxwidth_thumbnail'],
|
||||
$conf['upload_maxheight_thumbnail'] );
|
||||
$upload_type = $result['type'];
|
||||
for ( $j = 0; $j < sizeof( $result['error'] ); $j++ )
|
||||
{
|
||||
array_push( $error, $result['error'][$j] );
|
||||
|
||||
Reference in New Issue
Block a user