diff --git a/lib/Controller/getWarningController.php b/lib/Controller/getWarningController.php index 4ca33a259b..c23695e65d 100644 --- a/lib/Controller/getWarningController.php +++ b/lib/Controller/getWarningController.php @@ -183,8 +183,8 @@ private function __segmentWarningsCall() { $featureSet = $this->getFeatureSet(); $Filter = MateCatFilter::getInstance( $featureSet, $this->chunk->source, $this->chunk->target, [] ); - $this->__postInput->src_content = $Filter->fromLayer2ToLayer0( $this->__postInput->src_content ); - $this->__postInput->trg_content = $Filter->fromLayer2ToLayer0( $this->__postInput->trg_content ); + $this->__postInput->src_content = $Filter->fromLayer0ToLayer2( $this->__postInput->src_content ); + $this->__postInput->trg_content = $Filter->fromLayer0ToLayer2( $this->__postInput->trg_content ); $QA = new QA( $this->__postInput->src_content, $this->__postInput->trg_content ); $QA->setFeatureSet( $featureSet );