From 3a77f13428c04d20facd44ee16a2d70cc0a02482 Mon Sep 17 00:00:00 2001 From: Garvin Hicking Date: Fri, 21 Aug 2009 08:52:50 +0000 Subject: [PATCH] * PHP 5.3.0 compatibility without E_WARNING triggers (garvinhicking) --- docs/NEWS | 2 ++ include/functions_smarty.inc.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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; }