[Vtigercrm-developers] Possible typo in the vtiger 6.1 svn 14170 source

Rishab K rishab.k at vtiger.com
Sat Aug 2 09:41:30 GMT 2014


Thanks

Noted:http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/8179




On Fri, Aug 1, 2014 at 10:02 PM, Holbok István <holbok at gmail.com> wrote:

>  Dear vtiger Team,
>
> There is a file ...\modules\Users\DefaultDataPopulator.php
> In the line 2278 there is a function:
>     *function vtws_addFieldTypeInformation()* {
>         $fieldTypeInfo = array('picklist' => array(15, 16), 'text' =>
> array(19, 20, 21, 24), 'autogenerated' => array(3), 'phone' => array(11),
>             'multipicklist' => array(33), 'url' => array(17), 'skype' =>
> array(85), 'boolean' => array(56, 156), 'owner' => array(53),
>             'file' => array(61, 28), 'email' => array(13), 'currency' =>
> array(71, 72));
>
>         foreach ($fieldTypeInfo as $type => $uitypes) {
>             foreach ($uitypes as $uitype) {
>                 $result = $this->db->pquery("insert into
> vtiger_ws_fieldtype(uitype,fieldtype) values(?,?)", array($uitype, $type));
>                 if (!is_object($result)) {
>                    * "Query for fieldtype
> details($uitype:uitype,$type:fieldtype)";*
>                 }
>             }
>         }
>
>         $this->vtws_addReferenceTypeInformation();
>     }
>
> About the line 2287 there is a string (highlighted with red, bold) without
> any action like echo or something.
>
> The similar functions around this used echo to echo the error message in
> the case of faults.
>
> Kindest regards:
> Istvan
>
> --
> üdvözlettel:
>
> *Holbok István*
>
> +3670-342-0900
> *e-mail:* holbok at gmail.com
> *SkyPe:* holboki
>
>
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20140802/edcc2c35/attachment.html>


More information about the vtigercrm-developers mailing list