Revision: 2719
          https://sourceforge.net/p/mrbs/code/2719/
Author:   cimorrison
Date:     2013-03-12 10:36:35 +0000 (Tue, 12 Mar 2013)
Log Message:
-----------
Fixed the return URL when deleting an entry

Modified Paths:
--------------
    mrbs/branches/this_and_future/web/view_entry.php

Modified: mrbs/branches/this_and_future/web/view_entry.php
===================================================================
--- mrbs/branches/this_and_future/web/view_entry.php    2013-03-12 09:48:30 UTC 
(rev 2718)
+++ mrbs/branches/this_and_future/web/view_entry.php    2013-03-12 10:36:35 UTC 
(rev 2719)
@@ -122,19 +122,19 @@
 // PHASE 2
 if (isset($edit_button))
 {
-  header("Location: 
edit_entry.php?id=$id&time_subset=$time_subset&day=$day&month=$month&year=$year&returl=$returl");
+  header("Location: 
edit_entry.php?id=$id&time_subset=$time_subset&day=$day&month=$month&year=$year&returl="
 . urlencode($returl));
   exit;
 }
 
 if (isset($delete_button))
 {
-  header("Location: 
del_entry.php?id=$id&time_subset=$time_subset&day=$day&month=$month&year=$year&returl=$returl");
+  header("Location: 
del_entry.php?id=$id&time_subset=$time_subset&day=$day&month=$month&year=$year&returl="
 . urlencode($returl));
   exit;
 }
 
 if (isset($copy_button))
 {
-  header("Location: 
edit_entry.php?id=$id&copy=1&time_subset=$time_subset&day=$day&month=$month&year=$year&returl=$returl");
+  header("Location: 
edit_entry.php?id=$id&copy=1&time_subset=$time_subset&day=$day&month=$month&year=$year&returl="
 . urlencode($returl));
   exit;
 }
 
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to