From c8358b5b0c179824767a074def2e5bff6f3cb66a Mon Sep 17 00:00:00 2001
From: Andrew Dolgov <fox@bah.org.ru>
Date: Thu, 22 Oct 2009 11:55:50 +0400
Subject: [PATCH] fix wrong title being displayed when trying to unsubscribe
 from feed editor

---
 modules/pref-feeds.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php
index 17379a2bf..e8c6d8783 100644
--- a/modules/pref-feeds.php
+++ b/modules/pref-feeds.php
@@ -227,10 +227,10 @@
 						$is_selected = "";
 					}
 
-					$title = truncate_string(htmlspecialchars($tmp_line["title"]), 40);
+					$linked_title = truncate_string(htmlspecialchars($tmp_line["title"]), 40);
 
 					printf("<option $is_selected value='%d'>%s</option>", 
-						$tmp_line["id"], $title);
+						$tmp_line["id"], $linked_title);
 				}
 
 			print "</select>";
-- 
GitLab