cvs: smarty /plugins function.cycle.php
| From: | Monte Ohrt | Date: | Tue, 07 May 2002 21:58:39 +0000 |
| Subject: | cvs: smarty /plugins function.cycle.php | ||
| Groups: | php.smarty.cvs | ||
| Request: | Send a blank email to php-smarty-cvs+get-106@lists.php.net to get a copy of this message | ||
mohrt Tue May 7 17:58:39 2002 EDT
Modified files:
/smarty/plugins function.cycle.php
Log:
remove \n from cycle function
Index: smarty/plugins/function.cycle.php
diff -u smarty/plugins/function.cycle.php:1.7 smarty/plugins/function.cycle.php:1.8
--- smarty/plugins/function.cycle.php:1.7 Tue May 7 10:16:34 2002
+++ smarty/plugins/function.cycle.php Tue May 7 17:58:39 2002
@@ -80,7 +80,7 @@
}
if($print) {
- echo $cycle_array[$cycle_vars[$name]['index']]."\n";
+ echo $cycle_array[$cycle_vars[$name]['index']];
}
if($advance) {