Closed (fixed)
Project:
Contact Attach
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
6 Apr 2012 at 21:45 UTC
Updated:
4 May 2012 at 12:40 UTC
file_save_upload() should throw a form error when the file fails to save. Right now it only does that if failing one of the explicitly defined validators. The function returns FALSE though when the file fails to save, so we can use that to set a form error ourselves.
Comments
Comment #1
Tor Arne Thune commentedCommitted and pushed: 5659230.
Comment #2
Tor Arne Thune commented