From 42d6a9553bfd2ad5657e705d0310620d9f533594 Mon Sep 17 00:00:00 2001 From: real_nowhereman Date: Tue, 9 Sep 2008 14:52:16 +0000 Subject: [PATCH] added RAW option to entry_parse() --- fp-includes/core/core.entry.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fp-includes/core/core.entry.php b/fp-includes/core/core.entry.php index ce08198..197053f 100755 --- a/fp-includes/core/core.entry.php +++ b/fp-includes/core/core.entry.php @@ -411,7 +411,7 @@ } - function entry_parse($id, $incrViews=false) { + function entry_parse($id, $raw=false) { $f = entry_exists($id); if (!$f) @@ -444,7 +444,8 @@ global $fp_config; $arr['AUTHOR'] = $fp_config['general']['author']; } - + + if ($raw) return $arr; return array_change_key_case($arr, CASE_LOWER); }