Revision: 1369
http://mrbs.svn.sourceforge.net/mrbs/?rev=1369&view=rev
Author: cimorrison
Date: 2010-07-01 15:35:47 +0000 (Thu, 01 Jul 2010)
Log Message:
-----------
Fixed bug that resulted in an "Access Denied" message for ordinary users when
viewing room information. Bug introduced as a result of the Rev 1364 changes.
Revision Links:
--------------
http://mrbs.svn.sourceforge.net/mrbs/?rev=1364&view=rev
Modified Paths:
--------------
mrbs/trunk/web/edit_area_room.php
Modified: mrbs/trunk/web/edit_area_room.php
===================================================================
--- mrbs/trunk/web/edit_area_room.php 2010-07-01 14:35:55 UTC (rev 1368)
+++ mrbs/trunk/web/edit_area_room.php 2010-07-01 15:35:47 UTC (rev 1369)
@@ -574,7 +574,7 @@
}
// THE AREA FORM
-if (!empty($area))
+if ((isset($change_done) || isset($change_area)) &&!empty($area))
{
// Only admins can see this form
if (!$is_admin)
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