[geeklog-cvs] geeklog: Fixed my fix (Prevent overwriting existing links when c...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Sat Oct 11 07:32:37 EDT 2008


details:   http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/f26f5f57925d
changeset: 6433:f26f5f57925d
user:      Dirk Haun <dirk at haun-online.de>
date:      Sat Oct 11 13:32:25 2008 +0200
description:
Fixed my fix (Prevent overwriting existing links when changing the link ID)

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
public_html/admin/plugins/links/index.php |    2 +-

diffs (12 lines):

diff -r ae1de14979cf -r f26f5f57925d public_html/admin/plugins/links/index.php
--- a/public_html/admin/plugins/links/index.php	Mon Oct 06 20:14:58 2008 +0200
+++ b/public_html/admin/plugins/links/index.php	Sat Oct 11 13:32:25 2008 +0200
@@ -273,7 +273,7 @@
         $perm_anon = 2;
     }
 
-    $lid = COM_sanitizeID($old_lid);
+    $lid = COM_sanitizeID($lid);
     $old_lid = COM_sanitizeID($old_lid);
     if (empty($lid)) {
         if (empty($old_lid)) {



More information about the geeklog-cvs mailing list