diff --git a/docs/NEWS b/docs/NEWS index 38cb8388..ef22560e 100644 --- a/docs/NEWS +++ b/docs/NEWS @@ -3,6 +3,8 @@ Version 1.5 () ------------------------------------------------------------------------ + * PHP 5.3.0 compatibility without E_WARNING triggers (garvinhicking) + * Added 'orderby' parameter to plugin API hooks for the serendipity fulltext search function (garvinhicking) diff --git a/include/functions_smarty.inc.php b/include/functions_smarty.inc.php index 11d55eaf..8ad3d921 100644 --- a/include/functions_smarty.inc.php +++ b/include/functions_smarty.inc.php @@ -839,7 +839,7 @@ function serendipity_smarty_getImageSize($params, &$smarty) { * @param object Smarty object * @return */ -function &serendipity_replaceSmartyVars(&$tpl_source, &$smarty) { +function &serendipity_replaceSmartyVars($tpl_source, &$smarty) { $tpl_source = str_replace('$CONST.', '$smarty.const.', $tpl_source); return $tpl_source; }