diff options
author | 2010-02-12 15:21:29 +0000 | |
---|---|---|
committer | 2010-02-12 15:21:29 +0000 | |
commit | 9334feb1745ef58373be205cc91ebedba1eab57c (patch) | |
tree | b5e76ae6a3e7400e2a49b7cb17ec8470cb6aac22 | |
parent | Split the short and long forms of bugzilla requests, so that we can handle lo... (diff) | |
download | rbot-bugzilla-9334feb1745ef58373be205cc91ebedba1eab57c.tar.gz rbot-bugzilla-9334feb1745ef58373be205cc91ebedba1eab57c.tar.bz2 rbot-bugzilla-9334feb1745ef58373be205cc91ebedba1eab57c.zip |
htmlentities/string module is gone, removed by upstream.
-rw-r--r-- | bugzilla.rb | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/bugzilla.rb b/bugzilla.rb index dbe21c8..8fb235c 100644 --- a/bugzilla.rb +++ b/bugzilla.rb @@ -22,17 +22,14 @@ require 'csv' # if it's not available. begin require 'htmlentities' - require 'htmlentities/string' -rescue LoadError # If we don't have htmlentities extension available, replace # decode_entities with a dummy function. class String - def decode_entities - return self - end + def decode_entities + return HTMLEntities.decode(self) + end end - end # Valid statuses |