<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>

<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML con formato previo Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Texto de globo Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        color:black;}
span.HTMLconformatoprevioCar
        {mso-style-name:"HTML con formato previo Car";
        mso-style-priority:99;
        mso-style-link:"HTML con formato previo";
        font-family:Consolas;
        color:black;}
span.EstiloCorreo19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
p.HTMLPreformatted, li.HTMLPreformatted, div.HTMLPreformatted
        {mso-style-name:"HTML Preformatted";
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EstiloCorreo22
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EstiloCorreo23
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.TextodegloboCar
        {mso-style-name:"Texto de globo Car";
        mso-style-priority:99;
        mso-style-link:"Texto de globo";
        font-family:"Tahoma","sans-serif";
        color:black;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="2050" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body bgcolor=white lang=ES link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>I agree that vTiger
have serious problems with the statement 0 = empty…<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p>

<div>

<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width=300
 style='width:225.0pt'>
 <tr style='height:45.75pt'>
  <td width=85 style='width:63.75pt;padding:0cm 0cm 3.75pt 0cm;height:45.75pt'>
  <p class=MsoNormal><span style='font-size:10.5pt;font-family:"Arial","sans-serif";
  color:#1F497D'><img width=61 height=61 id="_x0000_i1029"
  src="cid:image001.png@01CEA7EA.27ED44D0" alt="Refineria Web"></span><span
  style='font-size:10.5pt;font-family:"Arial","sans-serif";color:#1F497D'><o:p></o:p></span></p>
  </td>
  <td style='padding:0cm 0cm 3.75pt 0cm;height:45.75pt'>
  <p class=MsoNormal style='line-height:13.5pt'><b><span style='font-size:10.5pt;
  font-family:"Arial","sans-serif";color:#315047'>Adrián Granado </span></b><span
  style='font-size:10.5pt;font-family:"Arial","sans-serif";color:#1F497D'><br>
  </span><span style='font-size:10.5pt;font-family:"Arial","sans-serif";
  color:#7CCEE2'>PROGRAMADOR </span><span style='font-size:10.5pt;font-family:
  "Arial","sans-serif";color:#1F497D'><br>
  <a href="mailto:%20adrian@refineriaweb.com"><span style='color:#315047;
  text-decoration:none'>adrian@refineriaweb.com </span></a><o:p></o:p></span></p>
  </td>
 </tr>
</table>

<p class=MsoNormal><span style='color:#1F497D;display:none'><o:p> </o:p></span></p>

</div>

<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width=250
 style='width:187.5pt'>
 <tr>
  <td width=19 style='width:14.25pt;padding:0cm 0cm 0cm 0cm'></td>
  <td style='border:none;border-right:solid white 1.0pt;background:#7CCEE2;
  padding:5.25pt 0cm 5.25pt 7.5pt'>
  <p class=MsoNormal style='line-height:13.5pt'><span style='font-size:9.0pt;
  font-family:"Arial","sans-serif";color:white'>C/ Gran Vía Asima, 20 - 2º
  Oficina 7<o:p></o:p></span></p>
  <p class=MsoNormal style='line-height:13.5pt'><span style='font-size:9.0pt;
  font-family:"Arial","sans-serif";color:white'>07009 Palma de Mallorca<br>
  Teléfono 971 72 98 83 – Ext. 512<br>
  Fax 971 780 391 <o:p></o:p></span></p>
  </td>
 </tr>
 <tr>
  <td colspan=2 style='padding:0cm 0cm 0cm 0cm'>
  <p class=MsoNormal><a href="http://www.refineriaweb.com/" target="_blank"><span
  style='font-size:9.0pt;font-family:"Arial","sans-serif";text-decoration:none'><img
  border=0 width=268 height=30 id="_x0000_i1028"
  src="cid:image002.png@01CEA7EA.27ED44D0" alt="Refineria Web"></span></a><span
  style='font-size:9.0pt;font-family:"Arial","sans-serif";color:white'><o:p></o:p></span></p>
  </td>
 </tr>
</table>

<p class=MsoNormal><span style='color:#1F497D;display:none'><o:p> </o:p></span></p>

<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width=189
 style='width:5.0cm'>
 <tr>
  <td width=137 style='width:102.75pt;padding:0cm 0cm 0cm 0cm'></td>
  <td style='padding:0cm 0cm 0cm 0cm'>
  <p class=MsoNormal style='margin-top:2.25pt'><a
  href="https://www.facebook.com/refineriaweb1" target="_blank"><span
  style='text-decoration:none'><img border=0 width=21 height=21
  id="_x0000_i1027" src="cid:image003.png@01CEA7EA.27ED44D0"
  alt="Siguenos en Facebook"></span></a><a
  href="https://twitter.com/refineriaweb" target="_blank"><span
  style='text-decoration:none'><img border=0 width=21 height=21
  id="_x0000_i1025" src="cid:image004.png@01CEA7EA.27ED44D0"
  alt="Siguenos en Twitter"></span></a><span style='font-size:12.0pt;
  color:#1F497D'><o:p></o:p></span></p>
  </td>
 </tr>
</table>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:windowtext'>De:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:windowtext'> vtigercrm-developers-bounces@lists.vtigercrm.com
[mailto:vtigercrm-developers-bounces@lists.vtigercrm.com] <b>En nombre de </b>Lajeesh
K<br>
<b>Enviado el:</b> lunes, 02 de septiembre de 2013 14:33<br>
<b>Para:</b> vtigercrm-developers@lists.vtigercrm.com<br>
<b>Asunto:</b> Re: [Vtigercrm-developers] Bug reporting vtiger 5.4<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Hi Joe,<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Empty will check if
the value is zero also. Ie, if a value is 0 it will considered as empty. 
I have faced this issues when I have a dropdown which select value 0 to 10.
 And when I select value zero it return the error required value is not
set<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Regards,<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Lajeesh<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif";color:windowtext'>From:</span></b><span lang=EN-US
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>
vtigercrm-developers-bounces@lists.vtigercrm.com
[mailto:vtigercrm-developers-bounces@lists.vtigercrm.com] <b>On Behalf Of </b>Joe
Bordes<br>
<b>Sent:</b> Monday, September 02, 2013 5:38 PM<br>
<b>To:</b> vtigercrm-developers@lists.vtigercrm.com<br>
<b>Subject:</b> Re: [Vtigercrm-developers] Bug reporting vtiger 5.4<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>

<div>

<p class=MsoNormal><span lang=EN-US>Can you explain why?<br>
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?<br>
<br>
Joe<br>
TSolucio<br>
<br>
<br>
 El 02/09/13 12:03, Lajeesh K escribió:<o:p></o:p></span></p>

</div>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>

<p class=MsoNormal><span lang=EN-US>Hi<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US> <o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>There is bug in vtiger  5.4
module/webforms/capture.php  line 56<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US> <o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>if(empty($parameters[$webformField->getFieldName()])) 
throw new Exception("Required fields not filled");<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US> <o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>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 . <o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US> <o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>Really surprised how this kind of simple
errors are still exists in vtiger<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US> <o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US> <o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>Regards,<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>Lajeesh<o:p></o:p></span></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><span lang=EN-US
style='font-size:12.0pt;font-family:"Times New Roman","serif"'><br>
<br>
<o:p></o:p></span></p>

<pre><span lang=EN-US>_______________________________________________<o:p></o:p></span></pre><pre><span
lang=EN-US><a href="http://www.vtiger.com/">http://www.vtiger.com/</a><o:p></o:p></span></pre></blockquote>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p> </o:p></span></p>

</div>

</body>

</html>