]> git.pld-linux.org Git - packages/eventum.git/commitdiff
- avoid activating links more than once (Link_Filter::processText calls Misc::activat...
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 28 Mar 2006 09:32:48 +0000 (09:32 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    eventum-link_filter-updates.patch -> 1.2

eventum-link_filter-updates.patch

index fdb2aaf82f8b861bdf2f577ebcdc4235a20a3a0d..e5b0abec2888a35abb33c15aed0cdcfb2502d450 100644 (file)
          return $text;
      }
  
+--- ./include/class.attachment.php~    2006-03-28 12:19:20.000000000 +0300
++++ ./include/class.attachment.php     2006-03-28 12:19:23.434862171 +0300
+@@ -403,7 +403,7 @@
+             return "";
+         } else {
+             for ($i = 0; $i < count($res); $i++) {
+-                $res[$i]["iat_description"] = Link_Filter::processText(Issue::getProjectID($issue_id), nl2br(Misc::activateLinks(htmlspecialchars($res[$i]["iat_description"]))));
++                $res[$i]["iat_description"] = Link_Filter::processText(Issue::getProjectID($issue_id), nl2br(htmlspecialchars($res[$i]["iat_description"])));
+                 $res[$i]["files"] = Attachment::getFileList($res[$i]["iat_id"]);
+                 $res[$i]["iat_created_date"] = Date_API::getFormattedDate($res[$i]["iat_created_date"]);
This page took 0.073573 seconds and 4 git commands to generate.