Termination::getPop() uses ist_pop_id before pop_id
This commit is contained in:
@@ -153,10 +153,16 @@ class Termination extends mfBaseModel {
|
||||
}
|
||||
|
||||
public function getPop() {
|
||||
$pop_id = $this->getWorkflowvalue('pop_id');
|
||||
$pop_id = $this->getWorkflowvalue('ist_pop_id');
|
||||
if(!$pop_id) {
|
||||
$pop_id = $this->getWorkflowvalue('pop_id');
|
||||
return null;
|
||||
}
|
||||
|
||||
if(!$pop_id) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return new Pop($pop_id);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user