mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-12 21:55:56 +00:00
minitemplator->writeString: print always returns 1 in PHP
This commit is contained in:
@@ -792,8 +792,7 @@ function writeString ($s) {
|
||||
if ($this->outputError) return;
|
||||
switch ($this->outputMode) {
|
||||
case 0: // output to PHP output stream
|
||||
if (!print($s))
|
||||
$this->outputError = true;
|
||||
print $s;
|
||||
break;
|
||||
case 1: // output to file
|
||||
$rc = fwrite($this->outputFileHandle, $s);
|
||||
|
||||
Reference in New Issue
Block a user