summaryrefslogtreecommitdiff
path: root/lib/smarty3/plugins/modifier.spacify.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/smarty3/plugins/modifier.spacify.php')
-rw-r--r--lib/smarty3/plugins/modifier.spacify.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/smarty3/plugins/modifier.spacify.php b/lib/smarty3/plugins/modifier.spacify.php
index e5c41ad..98efd4b 100644
--- a/lib/smarty3/plugins/modifier.spacify.php
+++ b/lib/smarty3/plugins/modifier.spacify.php
@@ -5,11 +5,10 @@
* @package Smarty
* @subpackage PluginsModifier
*/
-
/**
* Smarty spacify modifier plugin
- * Type: modifier<br>
- * Name: spacify<br>
+ * Type: modifier
+ * Name: spacify
* Purpose: add spaces between characters in a string
*
* @link http://smarty.php.net/manual/en/language.modifier.spacify.php spacify (Smarty online manual)
@@ -23,5 +22,5 @@
function smarty_modifier_spacify($string, $spacify_char = ' ')
{
// well… what about charsets besides latin and UTF-8?
- return implode($spacify_char, preg_split('//' . Smarty::$_UTF8_MODIFIER, $string, - 1, PREG_SPLIT_NO_EMPTY));
+ return implode($spacify_char, preg_split('//' . Smarty::$_UTF8_MODIFIER, $string, -1, PREG_SPLIT_NO_EMPTY));
}