mirror of
https://github.com/Karaka-Management/oms-Help.git
synced 2026-01-27 20:08:41 +00:00
fix tests
This commit is contained in:
parent
bf3dea554a
commit
e5e57ce8c5
|
|
@ -291,7 +291,7 @@ final class BackendController extends Controller
|
|||
$toParse = \file_get_contents($path);
|
||||
$summary = \file_get_contents(__DIR__ . '/../../../Developer-Guide/SUMMARY.md');
|
||||
|
||||
if (\stripos($toParse, '```mermaid') !== false) {
|
||||
if ($toParse !== false && \stripos($toParse, '```mermaid') !== false) {
|
||||
$this->loadMermaid($response);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user