Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

151
 
757
 
757
 
mime.php
_> 11 <?php
  22 /*
<> 3 -  $Id: mime.php 151 2005-08-02 14:33:25Z mattice $
   3+  $Id: mime.php 757 2006-08-23 12:22:54Z hpdl $
44 
  55   osCommerce, Open Source E-Commerce Solutions
  66   http://www.oscommerce.com
     
 !
114114 //      $encoded =& $this->_encoded;
  115115       $encoded = $this->_encoded;
  116116 
<> 117 -      if (tep_not_null($this->_subparts)) {
  118 -        $boundary = '=_' . md5(uniqid(tep_rand()) . microtime());
   117+      if (!empty($this->_subparts)) {
   118+        $boundary = '=_' . md5(uniqid(osc_rand()) . microtime());
<_ 119119         $this->_headers['Content-Type'] .= ';' . $this->lf . chr(9) . 'boundary="' . $boundary . '"';
  120120 
  121121 // Add body parts to $subparts