Revision: 1921
http://mrbs.svn.sourceforge.net/mrbs/?rev=1921&view=rev
Author: cimorrison
Date: 2011-09-02 13:21:16 +0000 (Fri, 02 Sep 2011)
Log Message:
-----------
Fixed bug where the "Skip and Book" button was being shown if there was a
conflict for a non-repeating booking.
Modified Paths:
--------------
mrbs/trunk/web/edit_entry_handler.php
Modified: mrbs/trunk/web/edit_entry_handler.php
===================================================================
--- mrbs/trunk/web/edit_entry_handler.php 2011-09-02 13:10:54 UTC (rev
1920)
+++ mrbs/trunk/web/edit_entry_handler.php 2011-09-02 13:21:16 UTC (rev
1921)
@@ -766,8 +766,9 @@
// Skip and Book button (to book the entries that don't conflict)
-// Only show this button if there were no policies broken
-if (empty($rules_broken))
+// Only show this button if there were no policies broken and it's a series
+if (empty($rules_broken) &&
+ isset($rep_type) && ($rep_type != REP_NONE))
{
echo "<form method=\"post\" action=\"" .
htmlspecialchars(basename($PHP_SELF)) . "\">\n";
echo "<fieldset><legend></legend>\n";
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits