[geeklog-cvs] geeklog: Wrong variables

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Sun Dec 14 16:02:03 EST 2008


details:   http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/8ef676172fdb
changeset: 6567:8ef676172fdb
user:      Dirk Haun <dirk at haun-online.de>
date:      Sun Dec 14 21:49:32 2008 +0100
description:
Wrong variables

diffstat:

1 file changed, 2 insertions(+), 2 deletions(-)
public_html/links/index.php |    4 ++--

diffs (15 lines):

diff -r 37b794db151d -r 8ef676172fdb public_html/links/index.php
--- a/public_html/links/index.php	Sun Dec 14 21:36:53 2008 +0100
+++ b/public_html/links/index.php	Sun Dec 14 21:49:32 2008 +0100
@@ -348,9 +348,9 @@
                  . '/links/portal.php?what=link&item=' . $A['lid']);
     $template->set_var ('link_url', $url);
     $template->set_var ('link_actual_url', $A['url']);
-    $template->set_var ('link_actual_url_encoded', urlencode($actualUrl));
+    $template->set_var ('link_actual_url_encoded', urlencode($A['url']));
     $template->set_var ('link_name', stripslashes ($A['title']));
-    $template->set_var ('link_name_encoded', urlencode($title));
+    $template->set_var ('link_name_encoded', urlencode($A['title']));
     $template->set_var ('link_hits', COM_numberFormat ($A['hits']));
     $template->set_var ('link_description',
                         nl2br (stripslashes ($A['description'])));



More information about the geeklog-cvs mailing list