[dev] Patch for new event bug

Jason Rust jrust at rustyparts.com
Thu May 15 11:17:11 PDT 2003


The following patch fixes a small bug where 12am was being selected as
the time for the new event when an event was viewed from the month view.

-Jason

Index: month.php
===================================================================
RCS file: /repository/kronolith/month.php,v
retrieving revision 1.114
diff -u -r1.114 month.php
--- month.php   13 May 2003 23:59:57 -0000      1.114
+++ month.php   15 May 2003 18:09:40 -0000
@@ -153,7 +153,7 @@
                     $cell .= 'onmouseover="javascript:style.backgroundColor=\'' . Horde_Image::modifyColor($categoryColor) . '\'" ' ;
                     $cell .= 'onmouseout="javascript:style.backgroundColor=\'' . $categoryColor . '\'" ' ;
                     $cell .= 'valign="top">';
-                    $cell .= $event->getLink($dayStamp);
+                    $cell .= $event->getLink($timestamp);
                     $cell .= '</td></tr>';
                 }
             }



More information about the dev mailing list