Bug #1747 [Opn->Bgs]: mistake in parameter description

From: Date: Thu, 15 Jul 2004 08:49:42 +0000
Subject: Bug #1747 [Opn->Bgs]: mistake in parameter description
References: 1  Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-4601@lists.php.net to get a copy of this message
Edit report at http://pear.php.net/bugs/bug.php?id=1747&edit=1 ID: 1747 Updated by: mj@php.net Reported By: geels at datainlife dot ru -Status: Open +Status: Bogus Type: Bug Package: Documentation Operating System: irrelevant PHP Version: Irrelevant New Comment: I think that the documentation is correct here. From the code of Mail_mime: $filename = ($isfilename === true) ? basename($file) : basename($name); So $name *is* actually only used if $filename does not contain the image data but the filename. Previous Comments: ------------------------------------------------------------------------ [2004-06-30 06:17:59] geels at datainlife dot ru Description: ------------ PEAR package Mail_mime :: addAttachment(), :: addHTMLImage() there is a description of fourth parameter: string $name - The suggested file name for the data. Only used, if $file contains data. 'Only used, if $file contains data.' is incorrect. parameter $name used always. ------------------------------------------------------------------------ -- Edit this bug report at http://pear.php.net/bugs/bug.php?id=1747&edit=1

« previous php.pear.doc (#4601) next »