Author Topic: Call to undefined method ProjectTask::getRelObject()  (Read 2277 times)

IGaDI

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • Email
Call to undefined method ProjectTask::getRelObject()
« on: October 07, 2012, 11:44:09 pm »
After updating 2.2rc there is a message  PHP Fatal error:  Call to undefined method ProjectTask::getRelObject() in office/application/models/application_logs/ApplicationLog.class.php on line 368
« Last Edit: October 08, 2012, 02:26:33 am by IGaDI »

Bithunter

  • Freshman
  • *
  • Posts: 11
    • View Profile
Re: Call to undefined method ProjectTask::getRelObject()
« Reply #1 on: October 15, 2012, 09:38:25 am »
Edit application\models\application_logs\ApplicationLog.class.php
Change line 368 to:

Code: [Select]
return lang('activity ' . $this->getAction(), lang('the '.$object->/*getRelObject()->*/getObjectTypeName()," "), $user->getObjectName(), $object_link, $this->getLogData());

Seems to work this way.
« Last Edit: October 15, 2012, 09:57:20 am by Bithunter »