summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Plugins/Bugzilla.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Plugins/Bugzilla.cpp b/lib/Plugins/Bugzilla.cpp
index 694524d0..0b23b950 100644
--- a/lib/Plugins/Bugzilla.cpp
+++ b/lib/Plugins/Bugzilla.cpp
@@ -407,7 +407,7 @@ void CReporterBugzilla::SetSettings(const map_plugin_settings_t& pSettings)
//remove the trailing '/'
while (m_sBugzillaURL[m_sBugzillaURL.length() - 1] == '/')
{
- m_sBugzillaURL.erase(m_sBugzillaURL.length() - 2);
+ m_sBugzillaURL.erase(m_sBugzillaURL.length() - 1);
}
/*
if(*(--m_sBugzillaURL.end()) == '/')