summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Template.pm
diff options
context:
space:
mode:
authormkanat%kerio.com <>2006-03-07 06:42:09 +0100
committermkanat%kerio.com <>2006-03-07 06:42:09 +0100
commit93ed3ae8b3523b9e62597d1cc49de1f715648925 (patch)
tree691aa59ef033d8f23b920842558c68c52bae43f3 /Bugzilla/Template.pm
parenteb411e0d6a8848ff925ca13f42a04da1a7591284 (diff)
downloadbugzilla-93ed3ae8b3523b9e62597d1cc49de1f715648925.tar.gz
bugzilla-93ed3ae8b3523b9e62597d1cc49de1f715648925.tar.xz
Bug 282628: Move OpenStates and IsOpenedState out of globals.pl
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=wicked, a=myk
Diffstat (limited to 'Bugzilla/Template.pm')
-rw-r--r--Bugzilla/Template.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm
index 2a83a4bea..edfc037c6 100644
--- a/Bugzilla/Template.pm
+++ b/Bugzilla/Template.pm
@@ -40,6 +40,7 @@ use Bugzilla::Util;
use Bugzilla::User;
use Bugzilla::Error;
use MIME::Base64;
+use Bugzilla::Bug;
# for time2str - replace by TT Date plugin??
use Date::Format ();
@@ -415,7 +416,7 @@ sub get_bug_link {
$pre = "<i>";
$post = "</i>";
}
- elsif (! &::IsOpenedState($bug_state)) {
+ elsif (!is_open_state($bug_state)) {
$pre = '<span class="bz_closed">';
$title .= " $bug_res";
$post = '</span>';