[Vtigercrm-developers] vtws_revise no errors returned...

Alan Lord alanslists at gmail.com
Wed Apr 22 11:51:58 GMT 2015


I'm writing a small script to update a record in a custom module using 
the vtws_revise API.

>                 $data = array('lasthuddate' => $lasthuddate,
>                               'autohuddate' => $autohuddate,
>                               'id' => $wsid);
>                 $meter = vtws_revise($data, $current_user);


I'm in a testing phase right now and the fields described in the $data 
array do not actually yet exist in the module. When I run this piece of 
code however, it returns my meter object and reports no errors! (It's in 
a try catch block)

Is this to be expected?

Thanks

Al



More information about the vtigercrm-developers mailing list