[Vtigercrm-developers] Outgoing server vt6.1

Alan Lord (News) alanslists at gmail.com
Mon Oct 20 17:43:23 GMT 2014


On 20/10/14 18:34, Prasad wrote:
> Will replacing the following in else clause work?
>
> $smtp_auth = $adb->query_result($res,0,'smtp_auth');
> if(!empty($smtp_auth))){
> $smtp_auth = true;
> }

I can't see how... $smtp_auth has been set to a string above. Without an 
"} else {$smtp_auth = false} I can;t see how that will help.

Of course the alternative is to *not* mix the booloean var $smtp_auth 
with the var used to store the query result...

Al


-- 
Libertus Solutions
http://www.libertus.co.uk



More information about the vtigercrm-developers mailing list