Commit 931ba3e0394049e90340dcdbc5a2d09883beb394

Authored by conradverm
1 parent 51e54f1d

KTS-673

"The search algorithm needs some work"
Updated. Parameters to command not passed correctly

Committed By: Conrad Vermeulen
Reviewed By: Kevin Fourie

git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@7441 c91229c3-7414-0410-bfa2-8a42b809f60b
search2/indexing/extractorCore.inc.php
@@ -408,7 +408,7 @@ abstract class ApplicationExtractor extends ExternalDocumentExtractor @@ -408,7 +408,7 @@ abstract class ApplicationExtractor extends ExternalDocumentExtractor
408 { 408 {
409 $sources = array('{source}','{target}'); 409 $sources = array('{source}','{target}');
410 $target = array($this->sourcefile, $this->targetfile); 410 $target = array($this->sourcefile, $this->targetfile);
411 - $cmdline = $this->command . ' ' . str_replace($sources,$target, $params); 411 + $cmdline = $this->command . ' ' . str_replace($sources,$target, $this->params);
412 412
413 return $cmdline; 413 return $cmdline;
414 } 414 }