Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE development » Bug Reports » BUG. $wherearray is empty in _cm_Fileupload
BUG. $wherearray is empty in _cm_Fileupload [message #661] Tue, 27 February 2007 10:44 Go to next message
janalwin is currently offline  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.




Re: BUG. $wherearray is empty in _cm_Fileupload [message #662 is a reply to message #661] Tue, 27 February 2007 11:24 Go to previous message
AJM is currently offline  AJM
Messages: 2347
Registered: April 2006
Location: Surrey, UK
Senior Member
Whoops! Embarassed 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).


Previous Topic: BUG+FIX: error generated in _cm_pre_updateRecord gives 'blank' screen
Next Topic: multi3 and multi4
Goto Forum:
  


Current Time: Fri Apr 26 15:34:14 EDT 2024

Total time taken to generate the page: 0.02862 seconds