Revision: 1555
http://mrbs.svn.sourceforge.net/mrbs/?rev=1555&view=rev
Author: cimorrison
Date: 2010-10-26 14:22:50 +0000 (Tue, 26 Oct 2010)
Log Message:
-----------
Fixed bug whereby values might not get updated
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-10-25 23:36:16 UTC (rev 1554)
+++ mrbs/trunk/web/edit_area_room.php 2010-10-26 14:22:50 UTC (rev 1555)
@@ -328,7 +328,7 @@
$area_reminders_enabled = (!empty($area_reminders_enabled)) ? 1 : 0;
$area_enable_periods = (!empty($area_enable_periods)) ? 1 : 0;
- if (!$enable_periods)
+ if (!$area_enable_periods)
{
// Avoid divide by zero errors
if ($area_res_mins == 0)
@@ -364,7 +364,7 @@
$assign_array[] = "area_name='" . addslashes($area_name) . "'";
$assign_array[] = "area_admin_email='" . addslashes($area_admin_email) .
"'";
$assign_array[] = "custom_html='" . addslashes($custom_html) . "'";
- if (!$enable_periods)
+ if (!$area_enable_periods)
{
// only update the min and max book_ahead_secs fields if the form
values
// are set; they might be NULL because they've been disabled by
JavaScript
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits