+ fix small regression

This commit is contained in:
kelson42 2013-09-22 13:17:11 +02:00
parent c9d1f562ff
commit 0bab890203
1 changed files with 4 additions and 4 deletions

View File

@ -322,10 +322,10 @@ namespace kiwix {
} }
string Reader::getOrigId() { string Reader::getOrigId() {
string origId; string value;
this->getMetatag("startfileuid", origId); this->getMetatag("startfileuid", value);
if(value.empty())
if (!origId.empty()) { return "";
std::string id=value; std::string id=value;
std::string origID; std::string origID;
std::string temp=""; std::string temp="";