Fast Uncompromising Discussions. FUDforum will get your users talking.
BUG. $wherearray is empty in _cm_Fileupload
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.
Re: BUG. $wherearray is empty in _cm_Fileupload
Whoops! You are so-o-o-o correct. I will implement this fix this in the next release, which is quite imminent (not very far away, even).