Closed (duplicate)
Project:
Register with Picture
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Sep 2008 at 22:05 UTC
Updated:
15 Jan 2010 at 15:24 UTC
Jump to comment: Most recent file
Comments
Comment #1
Omniweb commentedTry to change case 'insert' to this code:
Comment #2
mmilano commentedthanks for the report and the code.
i should be able to update the module later this week. always appreciate the issue reports.
Comment #3
georgiebon commentedThanks Xandle - I tried your code, but still get the same error message.
Comment #4
Omniweb commentedYes, I've get the error too. Sorry.
It must be
without negation.
I've correct my first post. Try it again, please.
It works without errors for user, but the validation error exist.
Comment #5
georgiebon commentedI tried the following code and no longer get an error message when a user registers with no picture:
Bear in mind that I am not really a coder, and this might not be the correct way to do this, but it seems to be working for me for now.
Comment #6
Omniweb commentedYou should delete dummy line
if (!$file) {}
Use my code from the first post.
Comment #7
eMPee584 commentedjust wanted to file this as bug report, here's my patch for this.
Comment #8
off commentedPatch work great!
I mean this code will be in the future version!
Comment #9
kbahey commentedMarking this as a duplicate of #446094: Error if no file uploaded during registration