[Vtigercrm-developers] VT6 - getUserName - warning message
Prasad
prasad at vtiger.com
Mon Nov 18 09:47:20 GMT 2013
Maciej,
pquery (prepared query) is recommended API to use.
http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/7815 - FIXED
*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/index.php/Main_Page>
*I *Forums <https://discussions.vtiger.com>*I*
Website<https://www.vtiger.com/>
On Sun, Nov 17, 2013 at 1:11 AM, Stencel, Maciej <m.stencel at opensaas.pl>wrote:
> Hi,
>
> In VT6 getUserName function in Functions.php file You are using pquery
> function without passing into it params array.
>
> Line: $result = $adb->pquery('SELECT id, user_name FROM vtiger_users');
>
> It is causing warning message. It would be better if empty array would be
> passed to pquery, or switch to using plain query() function.
>
> best regards,
> Maciej Stencel
>
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20131118/0b1eb6ee/attachment.html>
More information about the vtigercrm-developers
mailing list