Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Friday, October 16, 2026

Diff for Metafox/lib/Mail/mime.php between version 1.4 and 1.5

version 1.4, 2015/11/24 17:21:06 version 1.5, 2024/11/20 15:48:04
Line 24 
Line 24 
  * - Redistributions in binary form must reproduce the above copyright   * - Redistributions in binary form must reproduce the above copyright
  *   notice, this list of conditions and the following disclaimer in the   *   notice, this list of conditions and the following disclaimer in the
  *   documentation and/or other materials provided with the distribution.   *   documentation and/or other materials provided with the distribution.
  * - Neither the name of the authors, nor the names of its contributors   * - Neither the name of the authors, nor the names of its contributors
  *   may be used to endorse or promote products derived from this   *   may be used to endorse or promote products derived from this
  *   software without specific prior written permission.   *   software without specific prior written permission.
  *   *
  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"   * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
Line 181  class Mail_mime
Line 181  class Mail_mime
   
         // Update build parameters          // Update build parameters
         if (!empty($params) && is_array($params)) {          if (!empty($params) && is_array($params)) {
             while (list($key, $value) = each($params)) {                          foreach ($params as $key => $value) {
                 $this->build_params[$key] = $value;                  $this->build_params[$key] = $value;
             }              }
         }          }
Line 858  class Mail_mime
Line 858  class Mail_mime
     public function get($params = null, $filename = null, $skip_head = false)      public function get($params = null, $filename = null, $skip_head = false)
     {      {
         if (isset($params)) {          if (isset($params)) {
             while (list($key, $value) = each($params)) {                          foreach ($params as $key => $value) {
                 $this->build_params[$key] = $value;                                  $this->build_params[$key] = $value;
             }                          }
         }          }
   
         if (isset($this->headers['From'])) {          if (isset($this->headers['From'])) {

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top