summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-01-22 20:57:16 +0300
committerAndrew Dolgov <[email protected]>2017-01-22 20:57:16 +0300
commitad326dbf78f824c3b26558a05893cec80e07f898 (patch)
tree7a1a3f3cd566bde5b12533f2800ccc4f81e0051e /classes
parent70c5b2bfcc766c82c697e431371be308ebad11dc (diff)
unpackVisibleHeadlines: do not iterate over all RROWs all the time
Diffstat (limited to 'classes')
-rwxr-xr-xclasses/feeds.php11
1 files changed, 3 insertions, 8 deletions
diff --git a/classes/feeds.php b/classes/feeds.php
index e0756b664..4a34945cd 100755
--- a/classes/feeds.php
+++ b/classes/feeds.php
@@ -706,14 +706,9 @@ class Feeds extends Handler_Protected {
$reply['content'] .= "<span id=\"CWRAP-$id\">";
-// if (!$expand_cdm) {
- $reply['content'] .= "<span id=\"CENCW-$id\" style=\"display : none\">";
- $reply['content'] .= htmlspecialchars($line["content"]);
- $reply['content'] .= "</span.";
-
-// } else {
-// $reply['content'] .= $line["content"];
-// }
+ $reply['content'] .= "<span id=\"CENCW-$id\" class=\"cencw\" style=\"display : none\">";
+ $reply['content'] .= htmlspecialchars($line["content"]);
+ $reply['content'] .= "</span>";
$reply['content'] .= "</span>";