Revision: 1302
          http://mrbs.svn.sourceforge.net/mrbs/?rev=1302&view=rev
Author:   cimorrison
Date:     2010-03-03 17:48:43 +0000 (Wed, 03 Mar 2010)

Log Message:
-----------
Made the error message slightly more helpful when $morningstarts, $eveningends 
and $resolution are misconfigured.

Modified Paths:
--------------
    mrbs/trunk/web/theme.inc

Modified: mrbs/trunk/web/theme.inc
===================================================================
--- mrbs/trunk/web/theme.inc    2010-02-22 11:42:44 UTC (rev 1301)
+++ mrbs/trunk/web/theme.inc    2010-03-03 17:48:43 UTC (rev 1302)
@@ -27,7 +27,8 @@
   $start_difference = ($start_last_slot - $start_first_slot) * 60;    // 
seconds
   if (($start_difference < 0) or ($start_difference%$resolution != 0))
   {
-    die('Configuration error: start and end of day incorrectly defined');
+    die('Configuration error: make sure that $eveningends is after 
$morningstarts
+         and that the length of the booking day is an integral multiple of 
$resolution.');
   }
 }
 ?>


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

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to