mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 20:57:26 +02:00
typo correction
This commit is contained in:
@@ -12,9 +12,9 @@
|
|||||||
| GNU General Public License (http://gnu.org).
|
| GNU General Public License (http://gnu.org).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_handlers/shortcode_handler.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_handlers/shortcode_handler.php,v $
|
||||||
| $Revision: 1.19 $
|
| $Revision: 1.20 $
|
||||||
| $Date: 2009-01-09 01:12:18 $
|
| $Date: 2009-01-15 18:57:02 $
|
||||||
| $Author: mcfly_e107 $
|
| $Author: lisa_ $
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -43,7 +43,7 @@ function register_shortcode($classFunc, $codes, $path='', $force=false)
|
|||||||
$codes = strtoupper($codes);
|
$codes = strtoupper($codes);
|
||||||
if(!$sc->isRegistered($code) || $force == true)
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user