X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=classes%2FNotice_tag.php;h=02740280f5d402f959e9889303bcf847cd7091d7;hb=54ad3b21d73fd08054bf0a65aa1cb9c13585de31;hp=e5b7722430b99be54a6fe2927b13275f86f44df0;hpb=b3bb8943f592de9f6936f35be49a88c641bf6da1;p=quix0rs-gnu-social.git diff --git a/classes/Notice_tag.php b/classes/Notice_tag.php index e5b7722430..02740280f5 100644 --- a/classes/Notice_tag.php +++ b/classes/Notice_tag.php @@ -1,7 +1,7 @@ whereAdd('notice_id > ' . $since_id); } - if ($before_id != 0) { - $nt->whereAdd('notice_id < ' . $before_id); + if ($max_id != 0) { + $nt->whereAdd('notice_id < ' . $max_id); } if (!is_null($since)) {