Permalink
Browse files

change while loop with foreach

  • Loading branch information...
1 parent 87bd156 commit feb8fc4702f82197eb353cc9e1affa5db98218b9 @acidvertigo acidvertigo committed Jan 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 catalog/includes/classes/mime.php
@@ -214,7 +214,7 @@ function _quotedPrintableEncode($input , $line_max = 76) {
$escape = '=';
$output = '';
- while (list(, $line) = each($lines)) {
+ foreach ($lines as $line) {
$linlen = strlen($line);
$newline = '';

0 comments on commit feb8fc4

Please sign in to comment.