cvs: smarty /docs/en/programmers/api-functions api-register-function.xml

"Monte Ohrt" <[email protected]>
Newsgroups gmane.comp.php.cvs.smarty
Message-ID <cvsmohrt1125514346@cvsserver>
mohrt		Wed Aug 31 14:52:26 2005 EDT

  Modified files:              
    /smarty/docs/en/programmers/api-functions	api-register-function.xml 
  Log:
  fix example
  
  
http://cvs.php.net/diff.php/smarty/docs/en/programmers/api-functions/api-register-function.xml?r1=1.6&r2=1.7&ty=u
Index: smarty/docs/en/programmers/api-functions/api-register-function.xml
diff -u smarty/docs/en/programmers/api-functions/api-register-function.xml:1.6 smarty/docs/en/programmers/api-functions/api-register-function.xml:1.7
--- smarty/docs/en/programmers/api-functions/api-register-function.xml:1.6	Wed Jun 22 17:33:29 2005
+++ smarty/docs/en/programmers/api-functions/api-register-function.xml	Wed Aug 31 14:52:22 2005
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
 <refentry id="api.register.function">
  <refnamediv>
   <refname>register_function()</refname>
@@ -64,8 +64,8 @@
     $format = "%b %e, %Y";
   } else {
     $format = $params['format'];
-    return strftime($format,time());
   }
+  return strftime($format,time());
 }
 ?>
 ]]>

-- 
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.