#22548 [Opn->Csd]: Date/Calc.php, wrong arguments in call of nextDayOfWeek and prevDayOfWeek

From: Date: Thu, 13 Mar 2003 21:27:02 +0000
Subject: #22548 [Opn->Csd]: Date/Calc.php, wrong arguments in call of nextDayOfWeek and prevDayOfWeek
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-14274@lists.php.net to get a copy of this message
ID: 22548 Updated by: mj@php.net Reported By: koan at gmx dot at -Status: Open +Status: Closed Bug Type: PEAR related Operating System: Debian Linux PHP Version: 4.3.1 New Comment: This bug has been fixed in CVS and the next release will work as expected. Previous Comments: ------------------------------------------------------------------------ [2003-03-05 06:49:44] koan at gmx dot at Date/Calc.php arguments in function calls (nextDayOfWeek and prevDayOfWeek) in lines 638, 658 always assigned to "" seems to be a "Copy & Paste"-related error ;-) Andreas Kossmeier RCS file: /repository/pear/Date/Date/Calc.php,v retrieving revision 1.9 diff -r1.9 Calc.php 638c638 < return(Date_Calc::nextDayOfWeek($dow,$day="",$month="",$year="",$format="%Y%m%d",true)); --- > return(Date_Calc::nextDayOfWeek($dow,$day,$month,$year,$format,true)); 658c658 < return(Date_Calc::prevDayOfWeek($dow,$day="",$month="",$year="",$format="%Y%m%d",true)); --- > return(Date_Calc::prevDayOfWeek($dow,$day,$month,$year,$format,true)); ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=22548&edit=1

« previous php.pear.dev (#14274) next »