Bug #3930: error in php3_imap_delete
| From: | len at padilla dot net | Date: | Sun, 26 Mar 2000 17:53:02 +0000 |
| Subject: | Bug #3930: error in php3_imap_delete | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-17248@lists.php.net to get a copy of this message | ||
From: len@padilla.net
Operating system: Linux,AIX,DigitalUnix
PHP version: 3.0.15
PHP Bug Type: IMAP related
Bug description: error in php3_imap_delete
The recent changes in the IMAP module seem to have broken php3_imap_delete. I think its a simple
'cut and paste' error. The check for number of arguments (which should be 2) is:
if ( myargc < 3 || myargc > 4 ||
getParameters(ht,myargc,&streamind,&sequence,&flags) == FAILURE) {
which wants 3 or 4 arguments. Coincidentally, another change from 3.0.14 to 3.0.15 involves
php3_imap_mail_move which had an optional arguement added (from 3 to 4). The code which verifies the
number of arguments is identical in both functions.
But then again I could be totally wrong...
--
Len Padilla
Len@Padilla.Net