Revision: 2193
          http://mrbs.svn.sourceforge.net/mrbs/?rev=2193&view=rev
Author:   cimorrison
Date:     2011-11-23 17:42:04 +0000 (Wed, 23 Nov 2011)
Log Message:
-----------
Fixed JavaScript error when $max_duration_enabled is false.    Thanks to Henry 
Thompson.

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

Modified: mrbs/trunk/web/edit_entry.php
===================================================================
--- mrbs/trunk/web/edit_entry.php       2011-11-23 10:19:07 UTC (rev 2192)
+++ mrbs/trunk/web/edit_entry.php       2011-11-23 17:42:04 UTC (rev 2193)
@@ -962,7 +962,7 @@
   }
   // Add in the maximum durations.   These are not per area at the moment
   // but they might be in the future
-  echo "areas[${area['id']}]['max_duration_enabled'] = 
$max_duration_enabled;\n";
+  echo "areas[${area['id']}]['max_duration_enabled'] = " . 
(($max_duration_enabled) ? "true" : "false") . ";\n";
   echo "areas[${area['id']}]['max_duration_secs'] = $max_duration_secs;\n";
   echo "areas[${area['id']}]['max_duration_periods'] = 
$max_duration_periods;\n";
   $max_duration_qty = $max_duration_secs;

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


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to