[Vtigercrm-commits] [Vtiger development] #8077: ModComments: getImagePath return invalid location.

Vtiger development vtiger-tickets at trac.vtiger.com
Wed May 28 10:43:06 GMT 2014


#8077: ModComments: getImagePath return invalid location.
------------------------+-------------------------
 Reporter:  prasad      |       Owner:  developer
     Type:  defect      |      Status:  new
 Priority:  unassigned  |   Milestone:  Unassigned
Component:  vtigercrm   |     Version:  6.0.0
 Severity:  Medium      |  Resolution:
 Keywords:              |
------------------------+-------------------------
Description changed by prasad:

Old description:

> file: modules/ModComments/models/Record.php
> class: ModComments_Record_Model
> function getImagePath
>
> <pre>
> return '../' . $imagePath[0]['path'] . '_' . $imagePath[0]['name'];
> </pre>
>
> should be
>
> <pre>
> return $imagePath[0]['path'] . '_' . $imagePath[0]['name'];
> </pre>

New description:

 file: modules/ModComments/models/Record.php
 class: ModComments_Record_Model
 function getImagePath

 {{{
 return '../' . $imagePath[0]['path'] . '_' . $imagePath[0]['name'];
 }}}

 should be

 {{{
 return $imagePath[0]['path'] . '_' . $imagePath[0]['name'];
 }}}

--

--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/8077#comment:1>
Vtiger development <http://trac.vtiger.com/>
Vtiger CRM


More information about the vtigercrm-commits mailing list