aboutsummaryrefslogtreecommitdiffstats
path: root/upload.php
diff options
context:
space:
mode:
authorgweltas <gweltas@piwigo.org>2004-01-18 23:46:20 +0000
committergweltas <gweltas@piwigo.org>2004-01-18 23:46:20 +0000
commit5a7f683bd4f827f5d0a488888df4e41c6ce25077 (patch)
treef64a5fc90f58f77eb16e96930e8cbfe5b79fdffc /upload.php
parent8d2a8cdadd2e40ac22c3714bcfe411ff79244b9b (diff)
Php Warnings
git-svn-id: http://piwigo.org/svn/branches/release-1_3@299 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--upload.php2
1 files changed, 0 insertions, 2 deletions
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] );