Pico::prepareFileContent(): Declare $variables variable
This commit is contained in:
parent
0f8deda6a3
commit
eeb43e131f
1 changed files with 2 additions and 0 deletions
|
@ -997,6 +997,8 @@ class Pico
|
|||
*/
|
||||
public function prepareFileContent($rawContent, array $meta)
|
||||
{
|
||||
$variables = array();
|
||||
|
||||
// remove meta header
|
||||
$metaHeaderPattern = "/^(\/(\*)|---)[[:blank:]]*(?:\r)?\n"
|
||||
. "(?:(.*?)(?:\r)?\n)?(?(2)\*\/|---)[[:blank:]]*(?:(?:\r)?\n|$)/s";
|
||||
|
|
Loading…
Add table
Reference in a new issue