From f61142ac2b8ea717baff93b46c7d6b2b2158fad0 Mon Sep 17 00:00:00 2001 From: mohrt Date: Wed, 31 Aug 2005 18:52:22 +0000 Subject: [PATCH] fix example --- docs/en/programmers/api-functions/api-register-function.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/programmers/api-functions/api-register-function.xml b/docs/en/programmers/api-functions/api-register-function.xml index 3e84d1f0..ef891532 100644 --- a/docs/en/programmers/api-functions/api-register-function.xml +++ b/docs/en/programmers/api-functions/api-register-function.xml @@ -64,8 +64,8 @@ function print_current_date($params, &$smarty) $format = "%b %e, %Y"; } else { $format = $params['format']; - return strftime($format,time()); } + return strftime($format,time()); } ?> ]]>