The command line was originally reported as user information on a PEAR Error object. During the
import to git the PEAR Error was exchanged with an exception and the command line provided as
the second argument to the exception. As strings in this position get reset the information will
be lost. I assume that concatenating the command line to the error might actually be what was
desired.
$process = proc_open($this->_cmd(), $descspec, $pipes);
if (!is_resource($process)) {
- throw new Horde_Exception('Spellcheck failed. Command line: ', $this->_cmd());
+ throw new Horde_Exception('Spellcheck failed. Command line: ' . $this->_cmd());
}
$charset = Horde_Nls::getCharset();
if ($this->_encoding) {
$err = Horde_String::convertCharset($err, $this->_encoding, $charset);
}
- throw new Horde_Exception('Spellcheck failed. Command line: ', $this->_cmd());
+ throw new Horde_Exception('Spellcheck failed. Command line: ' . $this->_cmd());
}
if ($this->_encoding) {