Revision: 1179
          http://mrbs.svn.sourceforge.net/mrbs/?rev=1179&view=rev
Author:   cimorrison
Date:     2009-08-28 13:50:52 +0000 (Fri, 28 Aug 2009)

Log Message:
-----------
Fixed bug which meant that a user could not see their own private bookings if 
the user name contained HTML special chars.

Modified Paths:
--------------
    mrbs/trunk/web/view_entry.php

Modified: mrbs/trunk/web/view_entry.php
===================================================================
--- mrbs/trunk/web/view_entry.php       2009-08-26 23:26:28 UTC (rev 1178)
+++ mrbs/trunk/web/view_entry.php       2009-08-28 13:50:52 UTC (rev 1179)
@@ -116,7 +116,7 @@
 // so that user see what he expects to see
 $duration     = $row['duration'] - cross_dst($row['start_time'],
                                              $row['end_time']);
-$writeable = getWritable($create_by,$user);
+$writeable = getWritable($row['create_by'], $user);
 if (is_private_event($private) && !$writeable) 
 {
   $name = "[".get_vocab('private')."]";


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to