Browse Source

Update BBCodeList\Generate

Visman 3 years ago
parent
commit
4e8fc5af7b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Models/BBCodeList/Generate.php

+ 1 - 1
app/Models/BBCodeList/Generate.php

@@ -24,7 +24,7 @@ class Generate extends Method
         $query = 'SELECT bb_structure
         $query = 'SELECT bb_structure
             FROM ::bbcode';
             FROM ::bbcode';
 
 
-        $content = "<?php\n\nuse function \\ForkBB\\__;\nuse function \\ForkBB\\url;\n\nreturn [\n";
+        $content = "<?php\n\nuse function \\ForkBB\\{__, url};\n\nreturn [\n";
 
 
         $stmt = $this->c->DB->query($query);
         $stmt = $this->c->DB->query($query);
         while ($row = $stmt->fetch()) {
         while ($row = $stmt->fetch()) {