From ac1442d7cac16e421c282e76388ab16f797e85bd Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Thu, 28 Mar 2024 11:03:59 +0100 Subject: [PATCH] set proper names/text for cmd and error msg --- inc/inc.ClassFulltextService.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/inc/inc.ClassFulltextService.php b/inc/inc.ClassFulltextService.php index 09a42bf18..286444a45 100644 --- a/inc/inc.ClassFulltextService.php +++ b/inc/inc.ClassFulltextService.php @@ -167,11 +167,11 @@ class SeedDMS_FulltextService { if($previewer->hasPreview($version)) { $filename = $previewer->getFileName($version).'.txt'; $result['content'] = file_get_contents($filename); - $result['cmd'] = 'previewer '.$previewer->getFileSize($version); + $result['cmd'] = 'text converter '.$previewer->getFileSize($version); } } else { - $result['cmd'] = 'previewer'; - $result['errormsg'] = 'Creating preview failed'; + $result['cmd'] = 'text converter'; + $result['errormsg'] = 'Creating plain text failed'; } } return $result;