return $str;
}
+// "Fixes" an empty string into three dashes (use for templates)
+function fixEmptyContentToDashes ($str) {
+ // Trim the string
+ $str = trim($str);
+
+ // Is the string empty?
+ if (empty($str)) $str = '---';
+
+ // Return string
+ return $str;
+}
+
// [EOF]
?>