MINOR Fixed PHP notice

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@61825 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Andrew O'Neil 2008-09-01 04:54:48 +00:00
parent ab5ea4c0f6
commit c2da78d2e9

View File

@ -180,6 +180,7 @@ class AssetAdmin extends LeftAndMain {
$newFiles = array(); $newFiles = array();
$fileSizeWarnings = ''; $fileSizeWarnings = '';
$uploadErrors = ''; $uploadErrors = '';
$jsErrors = '';
foreach($processedFiles as $tmpFile) { foreach($processedFiles as $tmpFile) {
if($tmpFile['error'] == UPLOAD_ERR_NO_TMP_DIR) { if($tmpFile['error'] == UPLOAD_ERR_NO_TMP_DIR) {