[geeklog-cvs] geeklog: 'msg' parameter will only come in through a GET request...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Sun Oct 12 03:02:34 EDT 2008


details:   http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/10d8a479cde9
changeset: 6439:10d8a479cde9
user:      Dirk Haun <dirk at haun-online.de>
date:      Sun Oct 12 09:02:24 2008 +0200
description:
'msg' parameter will only come in through a GET request anyway

diffstat:

1 file changed, 5 insertions(+), 5 deletions(-)
public_html/admin/plugins/links/index.php |   10 +++++-----

diffs (24 lines):

diff -r e99d95caff64 -r 10d8a479cde9 public_html/admin/plugins/links/index.php
--- a/public_html/admin/plugins/links/index.php	Sun Oct 12 08:54:54 2008 +0200
+++ b/public_html/admin/plugins/links/index.php	Sun Oct 12 09:02:24 2008 +0200
@@ -534,15 +534,15 @@
     }
     $display .= COM_siteFooter ();
 } else { // 'cancel' or no mode at all
-    $display .= COM_siteHeader ('menu', $LANG_LINKS_ADMIN[11]);
-    if (isset ($_REQUEST['msg'])) {
-        $msg = COM_applyFilter ($_REQUEST['msg'], true);
+    $display .= COM_siteHeader('menu', $LANG_LINKS_ADMIN[11]);
+    if (isset($_GET['msg'])) {
+        $msg = COM_applyFilter($_GET['msg'], true);
         if ($msg > 0) {
-            $display .= COM_showMessage ($msg, 'links');
+            $display .= COM_showMessage($msg, 'links');
         }
     }
     $display .= listlinks();
-    $display .= COM_siteFooter ();
+    $display .= COM_siteFooter();
 }
 
 echo $display;



More information about the geeklog-cvs mailing list