Revision: 1358
http://mrbs.svn.sourceforge.net/mrbs/?rev=1358&view=rev
Author: cimorrison
Date: 2010-06-15 15:30:47 +0000 (Tue, 15 Jun 2010)
Log Message:
-----------
Slightly improved fix for previous problem (Rev 1357)
Revision Links:
--------------
http://mrbs.svn.sourceforge.net/mrbs/?rev=1357&view=rev
Modified Paths:
--------------
mrbs/trunk/web/mrbs_sql.inc
Modified: mrbs/trunk/web/mrbs_sql.inc
===================================================================
--- mrbs/trunk/web/mrbs_sql.inc 2010-06-15 11:04:09 UTC (rev 1357)
+++ mrbs/trunk/web/mrbs_sql.inc 2010-06-15 15:30:47 UTC (rev 1358)
@@ -194,10 +194,13 @@
}
// check that the booking policies allow us to delete this entry
- $tmp = mrbsCheckPolicy($row['start_time'], TRUE);
- if (!$is_book_admin && !empty($tmp))
+ if (!$is_book_admin)
{
- continue;
+ $tmp = mrbsCheckPolicy($row['start_time'], TRUE);
+ if (!empty($tmp))
+ {
+ continue;
+ }
}
if (sql_command("DELETE FROM $tbl_entry WHERE id=" . $row['id']) > 0)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits