Fix undefined offset 0 in Binaries class postdate function

This commit is contained in:
DariusIII
2018-09-26 14:44:56 +02:00
parent 2500ecb065
commit 7b522cb299
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -1262,7 +1262,7 @@ class Binaries
$currentPost
)
);
if ($local > 0) {
if (! empty($local) && \count($local) > 0) {
$date = $local[0]->date;
break;
}
+1
View File
@@ -1,4 +1,5 @@
2018-09-26 DariusIII
* Fix: Fix undefined offset 0 in Binaries class postdate function
* Chg: Update tmux install script to use tmux 2.8-rc to compile tmux
* Fix: Fix blacklist-list.tpl error
* Chg: Fix checking for argv in reset_postprocessing.php