Bug #3880: Wrong param count in php3_imap_delete() _undelete()

From: Date: Mon, 20 Mar 2000 04:30:08 +0000
Subject: Bug #3880: Wrong param count in php3_imap_delete() _undelete()
Groups: php.dev 
Request: Send a blank email to php-dev+get-17059@lists.php.net to get a copy of this message
From: pmana@admu.edu.ph Operating system: Linux 2.2.14 PHP version: 3.0.15 PHP Bug Type: IMAP related Bug description: Wrong param count in php3_imap_delete() _undelete() In php-3.0.15/functions/imap.c, line 1557 which is: if ( myargc < 3 || myargc > 4 || getParameters(...) ) { WRONG_PARAM_COUNT; } should be: if ( myargc != 2 || getParameters(...) ) { WRONG_PARAM_COUNT; } Similarly for line 1586. This should correct the errors when deleting a mail item. Thank you.

« previous php.dev (#17059) next »