[Vtigercrm-developers] Outgoing server vt6.1
Prasad
prasad at vtiger.com
Mon Oct 20 17:34:58 GMT 2014
Will replacing the following in else clause work?
$smtp_auth = $adb->query_result($res,0,'smtp_auth');
if(!empty($smtp_auth))){
$smtp_auth = true;
}
*Connect with us on: *Twitter <http://twitter.com/vtigercrm> *I* Facebook
<http://www.facebook.com/pages/vtiger/226866697333578?sk=wall> *I* Blog
<https://blogs.vtiger.com/>* I* Wiki
<http://wiki.vtiger.com/vtiger6/index.php/Main_Page> *I* Website
<https://www.vtiger.com/>
On Mon, Oct 20, 2014 at 10:56 PM, Alan Lord (News) <alanslists at gmail.com>
wrote:
>
>
> On 20/10/14 18:02, Prasad wrote:
>
>> Does this help -
>> http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/8297#comment:5
>>
>
> I don't think that will work...
>
> This line
>
> $smtp_auth = $adb->query_result($res,0,'__smtp_auth');
>>
>
> Sets $smtp_auth to a string.
>
> The test further down
>
> if($smtp_auth){
>>
>
> Will always be true unless you reset $smtp_auth back to a bool...
>
> Al
>
>
> --
> Libertus Solutions
> http://www.libertus.co.uk
>
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20141020/e3234ad2/attachment.html>
More information about the vtigercrm-developers
mailing list