Ver código fonte

using signed decimal (%d) instead of nonexistent variable type (%i)

tokul 20 anos atrás
pai
commit
2d8305d513
1 arquivos alterados com 1 adições e 1 exclusões
  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(sprintf(_("Message %i deleted from remote server!"), $i));
+                        Mail_Fetch_Status(sprintf(_("Message %d deleted from remote server!"), $i));
                    } else {
                    } else {
                         Mail_Fetch_Status(_("Delete failed:") . htmlspecialchars($pop3->ERROR) );
                         Mail_Fetch_Status(_("Delete failed:") . htmlspecialchars($pop3->ERROR) );
                    }
                    }