[Vtigercrm-developers] Bug reporting vtiger 5.4

Joe Bordes joe at tsolucio.com
Mon Sep 2 12:07:39 UTC 2013


Can you explain why?
I mean empty checks if the variable is set and if so, if it is different 
than any empty or inexistent value, which, I understand, is exactly what 
it should be doing to make sure the required fields have a value 
different than empty, no?

Joe
TSolucio


  El 02/09/13 12:03, Lajeesh K escribió:
>
> Hi
>
> There is bug in vtiger  5.4 module/webforms/capture.php line 56
>
> if(empty($parameters[$webformField->getFieldName()])) throw new 
> Exception("Required fields not filled");
>
> here its checking empty it should be isset .  I have found this error 
> in 5.10 EA . So I doubt it be present in future 6 version .
>
> Really surprised how this kind of simple errors are still exists in vtiger
>
> Regards,
>
> Lajeesh
>
>
>
> _______________________________________________
> http://www.vtiger.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20130902/6bc48562/attachment.html>


More information about the vtigercrm-developers mailing list