From 51b46c89de6bd727653932c13db9bb3ac894ec73 Mon Sep 17 00:00:00 2001 From: David Street Date: Sun, 7 Jul 2013 22:31:19 -0400 Subject: [PATCH] Minor fixes --- lib/pico.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/pico.php b/lib/pico.php index 59d90eb..e3f0560 100644 --- a/lib/pico.php +++ b/lib/pico.php @@ -156,7 +156,7 @@ class Pico { ); // Add support for custom headers by hooking into the headers array - $this->run_hooks('before_read_file_meata', array(&$headers)); + $this->run_hooks('before_read_file_meta', array(&$headers)); foreach ($headers as $field => $regex){ if (preg_match('/^[ \t\/*#@]*' . preg_quote($regex, '/') . ':(.*)$/mi', $content, $match) && $match[1]){ @@ -240,7 +240,7 @@ class Pico { ); // Extend the data provided with each page by hooking into the data array - $this->run_hooks('get_page_data', array(&$data, &$page_meta)); + $this->run_hooks('get_page_data', array(&$data, $page_meta)); if($order_by == 'date'){ $sorted_pages[$page_meta['date'].$date_id] = $data;