<div dir="ltr"><div><span style="font-family:arial,helvetica,sans-serif">Hi,<br><br></span></div><span style="font-family:arial,helvetica,sans-serif">I have a vtiger instance which is upgraded from 5.4 to 6.2 . I have upgraded time control too. <br><br>


        
        
        
        


</span><pre class=""><span style="font-family:arial,helvetica,sans-serif"> created missing table columns in time control
module – fields created are relatednum,relatedname table is
vtiger_timecontrol 
</span></pre><span style="font-family:arial,helvetica,sans-serif"><br></span><pre class=""><span style="font-family:arial,helvetica,sans-serif">I gets fatal error when I clicks </span>right side links in detail view. <br>when clicking timecontrol summery, timecontrol details, invoiced on links.<br><br></pre><pre class=""><b>Fatal error</b>:  Call to a member function getRecord() on a non-object <br>in <b>/var/www/html/2015/andrew_v62/modules/Timecontrol/views/Detail.php</b> on line <b>23<br><br></b></pre><pre class="">and the code which is throwing this error is <br><br>         $recordModel = $this->record->getRecord();<br>              if ($recordModel->get('date_end')=='') {<br>             $date = $recordModel->get('date_start');<br>           $time = $recordModel->get('time_start');<br>           list($year, $month, $day) = split('-', $date);<br>                list($hour, $minute) = split(':', $time);<br>             $starttime = mktime($hour, $minute, 0, $month, $day, $year);<br><br><br></pre><pre class="">here the first line  gives the error.<br>$recordModel = $this->record->getRecord();</pre><pre class="">Can anyone give me any clue for this bug<br></pre>

<br clear="all"><div><div><div><div class="gmail_signature"><br>Regards,<br>Lajeesh<br></div></div>
</div></div></div>