mirror of
https://github.com/kiwix/kiwix-tools.git
synced 2025-09-23 03:52:35 -04:00
Porting bug fix 3417227 to new zimAccessor
This commit is contained in:
parent
c715e4eee6
commit
0308b2aea8
@ -98,10 +98,6 @@ bool ZimAccessor::GetMainPageUrl(string &url) {
|
||||
if (this->reader != NULL) {
|
||||
string urlstr = this->reader->getMainPageUrl();
|
||||
|
||||
if (urlstr.empty()) {
|
||||
urlstr = this->reader->getFirstPageUrl();
|
||||
}
|
||||
|
||||
url = urlstr.c_str();
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user