* fix bug for loadModel.
This commit is contained in:
@@ -486,7 +486,7 @@ class executionModel extends model
|
||||
if(isset($this->config->maxVersion))
|
||||
{
|
||||
$execution->planDuration = $this->loadModel('programplan')->getDuration($execution->begin, $execution->end);
|
||||
if(!empty($execution->realBegan) and !empty($execution->realEnd)) $execution->realDuration = $this->loadModel('programplan')->getDuration($execution->realBegan, $execution->realEnd);
|
||||
if(!empty($execution->realBegan) and !empty($execution->realEnd)) $execution->realDuration = $this->programplan->getDuration($execution->realBegan, $execution->realEnd);
|
||||
}
|
||||
|
||||
/* Redefines the language entries for the fields in the project table. */
|
||||
|
||||
Reference in New Issue
Block a user