Skip to content
Snippets Groups Projects
Verified Commit e3304181 authored by Alex ORLUC's avatar Alex ORLUC
Browse files

FEAT #10200 improve fulltext code + clean

parent 1a09aa24
No related branches found
No related tags found
No related merge requests found
...@@ -301,6 +301,9 @@ function launchIndexFullText($fileContent, $tempIndexFileDirectory, $Id) // $Ind ...@@ -301,6 +301,9 @@ function launchIndexFullText($fileContent, $tempIndexFileDirectory, $Id) // $Ind
errorHandler($e->getMessage()); errorHandler($e->getMessage());
} }
} }
} else {
$result = 2;
$_ENV['logger']->write('Content has too few characters (<20)');
} }
return $result; return $result;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment