mirror of
https://github.com/e107inc/e107.git
synced 2025-03-14 01:19:44 +01:00
typo correction
This commit is contained in:
parent
575ba728ee
commit
ed881b3da1
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user