mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-11 06:28:40 +00:00
fix risky test
This commit is contained in:
parent
328e9c547e
commit
751ce51220
|
|
@ -300,11 +300,10 @@ abstract class ViewAbstract implements RenderableInterface
|
||||||
$ob = (string) \json_encode($includeData);
|
$ob = (string) \json_encode($includeData);
|
||||||
}
|
}
|
||||||
} catch (\Throwable $e) {
|
} catch (\Throwable $e) {
|
||||||
if ($this->isBuffered) {
|
|
||||||
\ob_end_clean();
|
|
||||||
}
|
|
||||||
|
|
||||||
$ob = '';
|
$ob = '';
|
||||||
|
if ($this->isBuffered) {
|
||||||
|
$ob = \ob_get_clean();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return $ob;
|
return $ob;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user