mirror of
https://github.com/koreader/koreader.git
synced 2025-12-13 20:36:53 +01:00
[fix] Empty directory path and crash on TextWidget (#5606)
This commit is contained in:
@@ -137,7 +137,7 @@ end
|
||||
|
||||
function BookStatusWidget:getStatDays()
|
||||
if stats_book.days then
|
||||
return stats_book.days
|
||||
return tostring(stats_book.days)
|
||||
else
|
||||
return _("N/A")
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user