[Vtigercrm-developers] VT6 - getUserName - warning message

Stencel, Maciej m.stencel at opensaas.pl
Sat Nov 16 19:41:27 GMT 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20131116/aff22dca/attachment.html>


More information about the vtigercrm-developers mailing list