X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=classes%2FNotice_tag.php;h=02740280f5d402f959e9889303bcf847cd7091d7;hb=5e27d53947ff64c8aee1b2287e1c77bbeaea51f7;hp=e5b7722430b99be54a6fe2927b13275f86f44df0;hpb=c7d6e5b0157e1bab08351a326d09259476c06b70;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)) {