Update of /cvsroot/phpicalendar/phpicalendar/includes
In directory sc8-pr-cvs1:/tmp/cvs-serv14040/includes
Modified Files:
sidebar.php
Log Message:
Fixed warning for reference to $query when not set.
Index: sidebar.php
===================================================================
RCS file: /cvsroot/phpicalendar/phpicalendar/includes/sidebar.php,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** sidebar.php 16 Oct 2003 19:01:49 -0000 1.22
--- sidebar.php 16 Oct 2003 19:02:52 -0000 1.23
***************
*** 52,56 ****
echo '<div style="padding: 5px;">';
echo '<form style="margin-bottom:0;" action="day.php" method="GET">';
! echo "<select name=\"action\" class=\"query_style\" onChange=\"window.location=(this.options[this.selectedIndex].value+'$query');\">";
include('./functions/list_icals.php');
include('./functions/list_years.php');
--- 52,58 ----
echo '<div style="padding: 5px;">';
echo '<form style="margin-bottom:0;" action="day.php" method="GET">';
! echo "<select name=\"action\" class=\"query_style\" onChange=\"window.location=(this.options[this.selectedIndex].value+'";
! if (isset($query)) echo $query;
! echo "');\">";
include('./functions/list_icals.php');
include('./functions/list_years.php');
|