Skip to content

Commit

Permalink
Fix local warnings call (#3162)
Browse files Browse the repository at this point in the history
  • Loading branch information
mauretto78 authored Feb 20, 2024
1 parent f17d876 commit 2f8e8c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Controller/getWarningController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down

0 comments on commit 2f8e8c6

Please sign in to comment.