From: jervfors Date: Wed, 29 Dec 2004 19:08:21 +0000 (+0000) Subject: Minor cleanup X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=554f69469c73fc4b418d9378951e252f89d6b664;p=squirrelmail.git Minor cleanup git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@8528 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- 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