From ed881b3da1c264c788854f66cb7b4042da819f80 Mon Sep 17 00:00:00 2001 From: lisa Date: Thu, 15 Jan 2009 18:57:02 +0000 Subject: [PATCH] typo correction --- e107_handlers/shortcode_handler.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/e107_handlers/shortcode_handler.php b/e107_handlers/shortcode_handler.php index 6d8ba7dde..38b769811 100644 --- a/e107_handlers/shortcode_handler.php +++ b/e107_handlers/shortcode_handler.php @@ -12,9 +12,9 @@ | GNU General Public License (http://gnu.org). | | $Source: /cvs_backup/e107_0.8/e107_handlers/shortcode_handler.php,v $ -| $Revision: 1.19 $ -| $Date: 2009-01-09 01:12:18 $ -| $Author: mcfly_e107 $ +| $Revision: 1.20 $ +| $Date: 2009-01-15 18:57:02 $ +| $Author: lisa_ $ +----------------------------------------------------------------------------+ */ @@ -43,7 +43,7 @@ function register_shortcode($classFunc, $codes, $path='', $force=false) $codes = strtoupper($codes); if(!$sc->isRegistered($code) || $force == true) { - $sc->registered_codes[$codes] = array('type' => 'func', $path = 'path', 'function' => $classFunc); + $sc->registered_codes[$codes] = array('type' => 'func', 'path' => $path, 'function' => $classFunc); } } }