From 7390c49b089b4798fcf179dd25bfe83f6c1f4679 Mon Sep 17 00:00:00 2001 From: CaMer0n Date: Mon, 21 Sep 2009 22:25:22 +0000 Subject: [PATCH] Fixed typo --- e107_handlers/shortcode_handler.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/e107_handlers/shortcode_handler.php b/e107_handlers/shortcode_handler.php index eab5420e9..b0bb06949 100644 --- a/e107_handlers/shortcode_handler.php +++ b/e107_handlers/shortcode_handler.php @@ -9,8 +9,8 @@ * e107 Shortcode handler * * $Source: /cvs_backup/e107_0.8/e107_handlers/shortcode_handler.php,v $ - * $Revision: 1.31 $ - * $Date: 2009-09-19 17:43:19 $ + * $Revision: 1.32 $ + * $Date: 2009-09-21 22:25:22 $ * $Author: e107coders $ */ @@ -249,7 +249,7 @@ class e_shortcode { $sc_func = substr($c, 3); $code = strtoupper($sc_func); - if(!$this->isRegistered($scode)) + if(!$this->isRegistered($code)) { $this->registered_codes[$code] = array('type' => 'class', 'path' => $path, 'class' => $classFunc); }