mirror of
https://github.com/friendica/friendica
synced 2025-04-30 09:44:22 +02:00
parent
79b40ad573
commit
eadcc8dc93
3 changed files with 15 additions and 0 deletions
|
@ -95,6 +95,9 @@ class ReversedFileReader implements \Iterator
|
|||
if ($this->pos == 0) {
|
||||
return array_pop($buffer);
|
||||
}
|
||||
if (is_null($buffer)) {
|
||||
return null;
|
||||
}
|
||||
if (count($buffer) > 1) {
|
||||
return array_pop($buffer);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue