Revision: 2165
          http://mrbs.svn.sourceforge.net/mrbs/?rev=2165&view=rev
Author:   cimorrison
Date:     2011-11-02 16:01:58 +0000 (Wed, 02 Nov 2011)
Log Message:
-----------
Fixed bug - incorrect room id being used in authorisation check (no impact on 
standard MRBS, but will affect sites where $auth_book_admin() has been modified 
to use the room id)

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

Modified: mrbs/trunk/web/view_entry.php
===================================================================
--- mrbs/trunk/web/view_entry.php       2011-11-02 15:31:40 UTC (rev 2164)
+++ mrbs/trunk/web/view_entry.php       2011-11-02 16:01:58 UTC (rev 2165)
@@ -336,7 +336,7 @@
   else
   {
     // Buttons for those who are allowed to approve this booking
-    if (auth_book_admin($user, $room_id))
+    if (auth_book_admin($user, $row['room_id']))
     {
       if (!$series)
       {

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


------------------------------------------------------------------------------
RSA® Conference 2012
Save $700 by Nov 18
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to