aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/functions.php')
-rwxr-xr-xinclude/functions.php22
1 files changed, 11 insertions, 11 deletions
diff --git a/include/functions.php b/include/functions.php
index 21eb3f0..d06823d 100755
--- a/include/functions.php
+++ b/include/functions.php
@@ -1,12 +1,12 @@
-<?php
-#====================================================================================================
-# FUNCTION: Removes all line breaks and tabs from a string or an array with strings
-#====================================================================================================
-function removeLineBreaksAndTabs($mixed, $replace = NULL) {
- if(is_array($mixed)) {
- return array_map(__FUNCTION__, $mixed);
- }
-
- return is_string($mixed) ? str_replace(["\r\n", "\r", "\n", "\t"], $replace, $mixed) : $mixed;
-}
+<?php
+#===============================================================================
+# FUNCTION: Removes all line breaks and tabs from a string or an array with strings
+#===============================================================================
+function removeLineBreaksAndTabs($mixed, $replace = NULL) {
+ if(is_array($mixed)) {
+ return array_map(__FUNCTION__, $mixed);
+ }
+
+ return is_string($mixed) ? str_replace(["\r\n", "\r", "\n", "\t"], $replace, $mixed) : $mixed;
+}
?> \ No newline at end of file