From 5a7f683bd4f827f5d0a488888df4e41c6ce25077 Mon Sep 17 00:00:00 2001 From: gweltas Date: Sun, 18 Jan 2004 23:46:20 +0000 Subject: Php Warnings git-svn-id: http://piwigo.org/svn/branches/release-1_3@299 68402e56-0260-453c-a942-63ccdbb3a9ee --- upload.php | 2 -- 1 file changed, 2 deletions(-) (limited to 'upload.php') diff --git a/upload.php b/upload.php index 647eba7c0..6dc69631f 100644 --- a/upload.php +++ b/upload.php @@ -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] ); -- cgit v1.2.3