cvs: pear /Calendar Week.php
| From: | Lorenzo Alberton | Date: | Thu, 08 Jul 2004 14:06:52 +0000 |
| Subject: | cvs: pear /Calendar Week.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-21646@lists.php.net to get a copy of this message | ||
quipo Thu Jul 8 10:06:52 2004 EDT
Modified files:
/pear/Calendar Week.php
Log:
CS
http://cvs.php.net/diff.php/pear/Calendar/Week.php?r1=1.2&r2=1.3&ty=u
Index: pear/Calendar/Week.php
diff -u pear/Calendar/Week.php:1.2 pear/Calendar/Week.php:1.3
--- pear/Calendar/Week.php:1.2 Thu Jul 8 06:14:48 2004
+++ pear/Calendar/Week.php Thu Jul 8 10:06:51 2004
@@ -18,11 +18,11 @@
// | Lorenzo Alberton <l dot alberton at quipo dot it> |
// +----------------------------------------------------------------------+
//
-// $Id: Week.php,v 1.2 2004/07/08 10:14:48 quipo Exp $
+// $Id: Week.php,v 1.3 2004/07/08 14:06:51 quipo Exp $
//
/**
* @package Calendar
- * @version $Id: Week.php,v 1.2 2004/07/08 10:14:48 quipo Exp $
+ * @version $Id: Week.php,v 1.3 2004/07/08 14:06:51 quipo Exp $
*/
/**
@@ -201,8 +201,9 @@
foreach ($sDates as $sDate) {
foreach ($this->children as $key => $child) {
if ($child->thisDay() == $sDate->thisDay() &&
- $child->thisMonth() == $sDate->thisMonth() &&
- $child->thisYear() == $sDate->thisYear()) {
+ $child->thisMonth() == $sDate->thisMonth() &&
+ $child->thisYear() == $sDate->thisYear()
+ ) {
$this->children[$key] = $sDate;
$this->children[$key]->setSelected();
}