Changeset:
        10ca62561eb9
        
https://sourceforge.net/p/mrbs/hg-code/ci/10ca62561eb90c9e7cd0eb422c8cdd645939bc97
Author:
        Campbell Morrison <[email protected]>
Date:
        Mon Oct 03 10:37:44 2016 +0100
Log message:

Combined $_GET and $_POST data into a single message

diffstat:

 web/functions_error.inc |  11 +++--------
 1 files changed, 3 insertions(+), 8 deletions(-)

diffs (21 lines):

diff -r b4333c35d503 -r 10ca62561eb9 web/functions_error.inc
--- a/web/functions_error.inc   Sun Oct 02 17:54:37 2016 +0100
+++ b/web/functions_error.inc   Mon Oct 03 10:37:44 2016 +0100
@@ -76,14 +76,9 @@
     
     if ($show_form_data)
     {
-      if (!empty($_GET))
-      {
-        trigger_error("MRBS GET: " . print_r($_GET, true));
-      }
-      if (!empty($_POST))
-      {
-        trigger_error("MRBS POST: " . print_r($_POST, true));
-      }
+      $form_data = "MRBS GET: " . print_r($_GET, true) .
+                   "MRBS POST: " . print_r($_POST, true);
+      $form_data = trigger_error($form_data);
     }
     if (!empty($_SESSION))
     {

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to