| Index: core/src/fpdfdoc/doc_metadata.cpp
 | 
| diff --git a/core/src/fpdfdoc/doc_metadata.cpp b/core/src/fpdfdoc/doc_metadata.cpp
 | 
| index a4c77debd3bc068da267e3561d2fe48d710063ee..7624e0a2f0f3cc5f2cff1c5d262fb86e40a0c0ab 100644
 | 
| --- a/core/src/fpdfdoc/doc_metadata.cpp
 | 
| +++ b/core/src/fpdfdoc/doc_metadata.cpp
 | 
| @@ -113,7 +113,8 @@ int32_t CPDF_Metadata::GetString(const CFX_ByteStringC& bsItem, CFX_WideString &
 | 
|              }
 | 
|              wsStr = pElmnt->GetContent(0);
 | 
|              return wsStr.GetLength();
 | 
| -        } else if (bsItem == FX_BSTRC("Author")) {
 | 
| +        }
 | 
| +        if (bsItem == FX_BSTRC("Author")) {
 | 
|              CXML_Element *pElmnt = pTag->GetElement(NULL, bsTag);
 | 
|              if (!pElmnt) {
 | 
|                  continue;
 | 
| @@ -128,14 +129,13 @@ int32_t CPDF_Metadata::GetString(const CFX_ByteStringC& bsItem, CFX_WideString &
 | 
|              }
 | 
|              wsStr = pElmnt->GetContent(0);
 | 
|              return wsStr.GetLength();
 | 
| -        } else {
 | 
| -            CXML_Element *pElmnt = pTag->GetElement(NULL, bsTag);
 | 
| -            if (!pElmnt) {
 | 
| -                continue;
 | 
| -            }
 | 
| -            wsStr = pElmnt->GetContent(0);
 | 
| -            return wsStr.GetLength();
 | 
|          }
 | 
| +        CXML_Element *pElmnt = pTag->GetElement(NULL, bsTag);
 | 
| +        if (!pElmnt) {
 | 
| +            continue;
 | 
| +        }
 | 
| +        wsStr = pElmnt->GetContent(0);
 | 
| +        return wsStr.GetLength();
 | 
|      }
 | 
|      return -1;
 | 
|  }
 | 
| 
 |