Return correct string readingTime
This commit is contained in:
parent
5f47ad7c13
commit
db4327d69c
|
@ -496,7 +496,7 @@ class Page {
|
|||
$average = $words / 200;
|
||||
$minutes = round($average);
|
||||
|
||||
if ($minutes>0) {
|
||||
if ($minutes>1) {
|
||||
return $minutes.' '.$L->get('minutes');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue