Revision: 1643
http://mrbs.svn.sourceforge.net/mrbs/?rev=1643&view=rev
Author: cimorrison
Date: 2010-11-25 04:35:32 +0000 (Thu, 25 Nov 2010)
Log Message:
-----------
Fixed error handling if there's an SQL error when approving an entry
Modified Paths:
--------------
mrbs/trunk/web/approve_entry_handler.php
Modified: mrbs/trunk/web/approve_entry_handler.php
===================================================================
--- mrbs/trunk/web/approve_entry_handler.php 2010-11-25 04:17:21 UTC (rev
1642)
+++ mrbs/trunk/web/approve_entry_handler.php 2010-11-25 04:35:32 UTC (rev
1643)
@@ -20,6 +20,12 @@
checkAuthorised();
$user = getUserName();
+// Give the return URL a query string if it doesn't already have one
+if (strpos($returl, '?') === FALSE)
+{
+ $returl .= "?year=$year&month=$month&day=$day&area=$area&room=$room";
+}
+
if (isset($action))
{
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits