BUG. $wherearray is empty in _cm_Fileupload [message #661] |
Tue, 27 February 2007 10:44 |
janalwin
Messages: 17 Registered: May 2006 Location: Groningen
|
Junior Member |
|
|
Hallo,
I was trying to give an uploaded image a name which contains the product ID of the product where it belongs to.
I couldn't get the product_ID from the $whereArray in _cm_Fileupload. I've discovered that the $where information gets lost because the _cm_InitialiseFileupload function doens't give back a $fieldarray.
I solved the problem by adding return $fieldarray at the end of _cm_InitialiseFileupload.
|
|
|