From 7679b5e075a003fa83fe80857aba6ef0dc1b918a Mon Sep 17 00:00:00 2001 From: Cameron Date: Wed, 22 Jan 2014 06:12:54 -0800 Subject: [PATCH] Corrected .glyph detection in toIcon() function. --- e107_handlers/e_parse_class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e107_handlers/e_parse_class.php b/e107_handlers/e_parse_class.php index 3b92c6319..82de5a3fa 100644 --- a/e107_handlers/e_parse_class.php +++ b/e107_handlers/e_parse_class.php @@ -2688,7 +2688,7 @@ class e_parser /** * Parse xxxxx.glyph file to bootstrap glyph format. * @param string $text - * @param array + * @param array of $parms */ public function toGlyph($text, $space=" ") { @@ -2771,7 +2771,7 @@ class e_parser $ext = pathinfo($icon, PATHINFO_EXTENSION); - if(!$ext || $ext == '.glyph') // Bootstrap or Font-Awesome. + if(!$ext || $ext == 'glyph') // Bootstrap or Font-Awesome. { return $this->toGlyph($icon,$parm); }