From 19bd468a7bfcebf83136e4fe3e0b34e78f9e3dcb Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Mon, 14 Aug 2006 21:45:01 +0000 Subject: [PATCH] r1033: Convert angle brackets on the sprintf()d string --- syndicate.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/syndicate.php b/syndicate.php index 226825d..2305d48 100644 --- a/syndicate.php +++ b/syndicate.php @@ -56,7 +56,7 @@ $bugs_fetch = $db->query(" ); while ($bug = $db->fetch_array($bugs_fetch)) { - $bug['storytext'] = sprintf(str_replace(array('<', '>'), array('<', '>'), + $bug['storytext'] = str_replace(array('<', '>'), array('<', '>'), sprintf( $lang->string(' @@ -79,14 +79,14 @@ while ($bug = $db->fetch_array($bugs_fetch))
Bug ID:%5$s
-

%6$s

')), +

%6$s

'), $bug['bugid'], $bug['summary'], $bugsys->datastore['product']["$bug[product]"]['title'] . '/' . (($bug['component']) ? $bugsys->datastore['product']["$bug[component]"]['title'] . '/' : '') . $bugsys->datastore['version']["$bug[version]"]['version'], $bugsys->datastore['status']["$bug[status]"]['status'], $bugsys->datastore['severity']["$bug[severity]"]['severity'], $bug['comment_parsed'] - ); + )); $buglist["$bug[bugid]"] = $bug; $lastupdated = $bug["$timestamp"]; } -- 2.43.5