Fix incorrect variable reference

This commit is contained in:
Kijin Sung 2021-11-02 20:58:20 +09:00
parent 4fd1804d27
commit 093fa43e37

View file

@ -720,9 +720,9 @@ class ModuleObject extends BaseObject
{
$this->setError($triggerOutput->getError());
$this->setMessage($triggerOutput->getMessage());
if($output->get('rx_error_location'))
if($triggerOutput->get('rx_error_location'))
{
$this->add('rx_error_location', $output->get('rx_error_location'));
$this->add('rx_error_location', $triggerOutput->get('rx_error_location'));
}
return FALSE;
}