Revision: 1291
http://mrbs.svn.sourceforge.net/mrbs/?rev=1291&view=rev
Author: cimorrison
Date: 2010-02-07 09:09:56 +0000 (Sun, 07 Feb 2010)
Log Message:
-----------
Fixed bug in max_book_ahead checking when using periods. Thanks to Colin
Napier.
Modified Paths:
--------------
mrbs/trunk/web/mrbs_sql.inc
Modified: mrbs/trunk/web/mrbs_sql.inc
===================================================================
--- mrbs/trunk/web/mrbs_sql.inc 2010-02-03 12:01:23 UTC (rev 1290)
+++ mrbs/trunk/web/mrbs_sql.inc 2010-02-07 09:09:56 UTC (rev 1291)
@@ -122,7 +122,7 @@
if ($max_book_ahead_enabled)
{
$max_book_ahead = ($enable_periods) ? ($max_book_ahead_days * 60*60*24) :
$max_book_ahead_secs;
- if (($starttime - $now) > $max_book_ahead_secs)
+ if (($starttime - $now) > $max_book_ahead)
{
toTimeString($max_book_ahead, $units);
$error = get_vocab("max_time_before"). " $max_book_ahead $units";
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits