Hello. We are sorry for replying that late.
You are right, this is prior to code change in VM 2.0.16. Rapitoz's fix is right, there must be only one change:
rapitoz wrote:
I do not know VirtueMart and VM Invoice inside, so I fixed like this:
$JOOMLA_HOME/administrator/components/com_vminvoice/tables/vm2orderuserinfo.php
string 76
$data[$requestPrefix.$varname] = VirtueMartModelUserfields::prepareFieldDataSave($userfieldType,$requestPrefix.$varname,$data[$requestPrefix.$varname],$data,$params);}
replaced with this two lines:
$data[$requestPrefix.$varname] = VirtueMartModelUserfields::prepareFieldDataSave((object)array("type" => $userfieldType, "name" => $requestPrefix.$varname, "params" => $params), $data);}
Note to fully fix this error, you must change also according place in /administrator/components/com_vminvoice/tables/vm2userinfo.php.
We will fix this also in next version.
EDIT: New version was released yesterday (7.1.2013).