benFF Posted August 20, 2014 Share Posted August 20, 2014 Simple enough to explain this one If you have custom fields setup for clients, these are not send in the $vars array for the ClientEdit hook. Thus, a user can make changes to these fields and I have no way of automatically acting on the info (without doing my own db calls of course) cheers. Link to comment Share on other sites More sharing options...
SeanP Posted August 21, 2014 Share Posted August 21, 2014 It doesn't look like custom client fields are returned in the clientedit hook: http://docs.whmcs.com/Hooks:ClientEdit You would have to do a direct database query. Link to comment Share on other sites More sharing options...
benFF Posted August 21, 2014 Author Share Posted August 21, 2014 Hi SiteOx - thanks for the reply Yes, that is why I am reporting this as a bug - as I think it's something they missed Link to comment Share on other sites More sharing options...
WHMCS Developer WHMCS Andrew Posted August 22, 2014 WHMCS Developer Share Posted August 22, 2014 Hey Ben, We actually have a different hook point which is used when saving custom fields. http://docs.whmcs.com/Hooks:CustomFieldSave HTH, Andrew Link to comment Share on other sites More sharing options...
Recommended Posts