Browse Source

:bug: $innerString没有初始化

visuddhinanda 3 years ago
parent
commit
7721385028
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/Http/Api/TemplateRender.php

+ 1 - 0
app/Http/Api/TemplateRender.php

@@ -90,6 +90,7 @@ class TemplateRender{
 
         $props = ["note" => $this->get_param($this->param,"text",1)];
         $trigger = $this->get_param($this->param,"trigger",2);
+        $innerString = "";
         if(!empty($trigger)){
             $props["trigger"] = $trigger;
             $innerString = $props["trigger"];