diff --git a/src/BiblioInfo.cpp b/src/BiblioInfo.cpp index 471740dc2d..4f8ea5dda8 100644 --- a/src/BiblioInfo.cpp +++ b/src/BiblioInfo.cpp @@ -76,7 +76,7 @@ docstring BibTeXInfo::getValueForKey(string const & key, BibTeXInfo const * const xref) const { docstring const ret = operator[](key); - if (!ret.empty() or !xref) + if (!ret.empty() || !xref) return ret; return (*xref)[key]; }