Pico::prepareFileContent(): Declare $variables variable

This commit is contained in:
Daniel Rudolf 2016-05-06 23:19:40 +02:00
parent 0f8deda6a3
commit eeb43e131f
No known key found for this signature in database
GPG key ID: A061F02CD8DE4538

View file

@ -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";