From 554f69469c73fc4b418d9378951e252f89d6b664 Mon Sep 17 00:00:00 2001 From: jervfors Date: Wed, 29 Dec 2004 19:08:21 +0000 Subject: [PATCH] Minor cleanup git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@8528 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- plugins/fortune/functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/fortune/functions.php b/plugins/fortune/functions.php index 460e6e2e..ec8f4fe9 100644 --- a/plugins/fortune/functions.php +++ b/plugins/fortune/functions.php @@ -53,7 +53,7 @@ function fortune_function() { "\n"; echo '
'; if (!$exist) { - echo sprintf(_("%s is not found."),$fortune_location); + printf(_("%s is not found."),$fortune_location); } else { echo "
" . _("Today's Fortune") . "
\n";
         htmlspecialchars(system($fortune_command));
@@ -90,4 +90,4 @@ function fortune_function_load() {
 
     $fortune_visible = getPref($data_dir, $username, 'fortune_visible');
 }
-?>
+?>
\ No newline at end of file
-- 
2.25.1