]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - application/Utils.php
Refactor showAtom, and make it use the ATOM template
[github/shaarli/Shaarli.git] / application / Utils.php
index 3d819716316e78f1a884cb662723668a1529560d..bcf5bdb58130efae179a9879e2bf6660ce51d226 100644 (file)
@@ -226,7 +226,7 @@ function space2nbsp($text)
  *
  * @return string formatted description.
  */
-function format_description($description, $redirector) {
+function format_description($description, $redirector = false) {
     return nl2br(space2nbsp(text2clickable($description, $redirector)));
 }