Fix bug #9296. The key may be multiple keys.

This commit is contained in:
Richard Heck 2014-10-14 15:41:42 -04:00
parent f58d9f27a2
commit 080a4d84e2

View File

@ -942,7 +942,9 @@ docstring const BiblioInfo::getLabel(vector<docstring> keys,
bool BiblioInfo::isBibtex(docstring const & key) const
{
BiblioInfo::const_iterator it = find(key);
docstring key1;
split(key, key1, ',');
BiblioInfo::const_iterator it = find(key1);
if (it == end())
return false;
return it->second.isBibTeX();