Pico::prepareFileContent(): Declare $variables variable

pico-3.0-alpha
Daniel Rudolf 9 years ago
parent 0f8deda6a3
commit eeb43e131f
No known key found for this signature in database
GPG Key ID: A061F02CD8DE4538
  1. 2
      lib/Pico.php

@ -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…
Cancel
Save