* PHP 5.3.0 compatibility without E_WARNING triggers (garvinhicking)

This commit is contained in:
Garvin Hicking 2009-08-21 08:52:50 +00:00
parent 5444194a47
commit a8d211724c
2 changed files with 3 additions and 1 deletions

View File

@ -3,6 +3,8 @@
Version 1.5 () Version 1.5 ()
------------------------------------------------------------------------ ------------------------------------------------------------------------
* PHP 5.3.0 compatibility without E_WARNING triggers (garvinhicking)
* Added 'orderby' parameter to plugin API hooks for the serendipity * Added 'orderby' parameter to plugin API hooks for the serendipity
fulltext search function (garvinhicking) fulltext search function (garvinhicking)

View File

@ -839,7 +839,7 @@ function serendipity_smarty_getImageSize($params, &$smarty) {
* @param object Smarty object * @param object Smarty object
* @return * @return
*/ */
function &serendipity_replaceSmartyVars(&$tpl_source, &$smarty) { function &serendipity_replaceSmartyVars($tpl_source, &$smarty) {
$tpl_source = str_replace('$CONST.', '$smarty.const.', $tpl_source); $tpl_source = str_replace('$CONST.', '$smarty.const.', $tpl_source);
return $tpl_source; return $tpl_source;
} }