Browse Source

missing sprintf around string

Thijs Kinkhorst 20 years ago
parent
commit
b2b0a80268
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/mail_fetch/fetch.php

+ 1 - 1
plugins/mail_fetch/fetch.php

@@ -289,7 +289,7 @@ sqgetGlobalVar('delimiter',  $delimiter,  SQ_SESSION);
 
 
                 if ($mailfetch_lmos != 'on') {
                 if ($mailfetch_lmos != 'on') {
                    if( $pop3->delete($i) ) {
                    if( $pop3->delete($i) ) {
-                        Mail_Fetch_Status(_("Message %i deleted from remote server!"), $i);
+                        Mail_Fetch_Status(sprintf(_("Message %i deleted from remote server!"), $i));
                    } else {
                    } else {
                         Mail_Fetch_Status(_("Delete failed:") . htmlspecialchars($pop3->ERROR) );
                         Mail_Fetch_Status(_("Delete failed:") . htmlspecialchars($pop3->ERROR) );
                    }
                    }