Revision: 1361
http://mrbs.svn.sourceforge.net/mrbs/?rev=1361&view=rev
Author: cimorrison
Date: 2010-06-29 21:08:39 +0000 (Tue, 29 Jun 2010)
Log Message:
-----------
Fixed undefined index problem, which could cause problems in some circumstances
with the display of private bookings.
Modified Paths:
--------------
mrbs/trunk/web/week.php
Modified: mrbs/trunk/web/week.php
===================================================================
--- mrbs/trunk/web/week.php 2010-06-29 20:32:42 UTC (rev 1360)
+++ mrbs/trunk/web/week.php 2010-06-29 21:08:39 UTC (rev 1361)
@@ -240,6 +240,7 @@
print $before_after_links_html;
//Get all appointments for this week in the room that we care about
+// row['room_id'] = Room ID
// row['start_time'] = Start time
// row['end_time'] = End time
// row['type'] = Entry type
@@ -254,7 +255,7 @@
for ($j = 0; $j<=($num_of_days-1) ; $j++)
{
- $sql = "SELECT start_time, end_time, type, name, status,
+ $sql = "SELECT room_id, start_time, end_time, type, name, status,
id AS entry_id, description AS entry_description,
private AS entry_private, create_by AS entry_create_by
FROM $tbl_entry
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits