Currently:

watchdog('file', 'Upload error. Could not move uploaded file %file to destination %destination.', array('%file' => $file->filename, '%destination', $file->filepath));
      return 0;

Should be:

watchdog('file', 'Upload error. Could not move uploaded file %file to destination %destination.', array('%file' => $file->filename, '%destination' => $file->filepath));
      return 0;

Change was " , " to " => " for %destination

CommentFileSizeAuthor
#1 218915.patch1020 byteskeith.smith
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

keith.smith’s picture

Version: 6.0-rc3 » 6.x-dev
Status: Active » Needs review
FileSize
1020 bytes

And a patch. Thanks, jakeg!

webernet’s picture

Status: Needs review » Reviewed & tested by the community
jakeg’s picture

thanks for the patch keith - couldn't get my head around creating one right now. patch looks ready to go

Gábor Hojtsy’s picture

Version: 6.x-dev » 7.x-dev

Thanks, committed. RTBC for 7.x.

Dries’s picture

Status: Reviewed & tested by the community » Fixed

I've committed this to CVS HEAD. Thanks.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.