2
0
visuddhinanda 5 өдөр өмнө
parent
commit
eff1d449f6

+ 1 - 1
api-v13/app/Http/Api/MdRender.php

@@ -337,7 +337,7 @@ class MdRender
                 return trim($html);
                 break;
             case 'unity':
-                if ($tplProps) {
+                if (isset($tplProps) && is_array($tplProps)) {
                     return "{{" . "{$tplProps['tpl']}|{$tplProps['props']}" . "}}";
                 } else {
                     return '';