diff options
| author | John Turner <ukgrad89@users.sourceforge.net> | 2009-10-20 18:01:48 +0000 |
|---|---|---|
| committer | John Turner <ukgrad89@users.sourceforge.net> | 2009-10-20 18:01:48 +0000 |
| commit | ca4be8749325aa359085fd4b79c7242cea10c24a (patch) | |
| tree | 672f7565a5bf6b717a36d233d7e7b6977d7217a7 /smarty_bit/block.bitmodule.php | |
| parent | c26918bd1a80f236decf5b802a21e9900fcc2211 (diff) | |
| download | kernel-ca4be8749325aa359085fd4b79c7242cea10c24a.tar.gz kernel-ca4be8749325aa359085fd4b79c7242cea10c24a.tar.bz2 kernel-ca4be8749325aa359085fd4b79c7242cea10c24a.zip | |
Fixes for Deprecated features in PHP 5.3.x (ereg and split)
Diffstat (limited to 'smarty_bit/block.bitmodule.php')
| -rw-r--r-- | smarty_bit/block.bitmodule.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/smarty_bit/block.bitmodule.php b/smarty_bit/block.bitmodule.php index b4ebc27..321def8 100644 --- a/smarty_bit/block.bitmodule.php +++ b/smarty_bit/block.bitmodule.php @@ -4,7 +4,7 @@ * @package Smarty * @subpackage plugins */ -// $Header: /cvsroot/bitweaver/_bit_kernel/smarty_bit/block.bitmodule.php,v 1.7 2008/05/18 05:48:34 laetzer Exp $ +// $Header: /cvsroot/bitweaver/_bit_kernel/smarty_bit/block.bitmodule.php,v 1.8 2009/10/20 18:01:48 ukgrad89 Exp $ /** * \brief Smarty {bitmodule}{/bitmodule} block handler * @@ -38,7 +38,7 @@ function smarty_block_bitmodule( $pParams, $pContent, &$gBitSmarty) { // } // if( empty( $pParams['name'] )) { -// $pParams['name'] = ereg_replace( "[^-_a-zA-Z0-9]", "", $pParams['title'] ); +// $pParams['name'] = preg_replace( "/[^-_a-zA-Z0-9]/", "", $pParams['title'] ); // } // this is outdated and will not work with our serialised cookies - xing |
