Browse code

Fix limit setting in list module

Benjamin Roth authored on30/11/2023 16:07:59
Showing1 changed files
... ...
@@ -128,7 +128,7 @@ class ModuleMemberList extends ModuleMemberExtension
128 128
             $limit = $this->numberOfItems;
129 129
         }
130 130
 
131
-        if ($this->perPage > 0 && (!isset($limit) || $this->numberOfItems > $this->perPage))
131
+        if ($this->perPage > 0 && (!isset($limit) || $this->numberOfItems >= $this->perPage))
132 132
         {
133 133
             if (isset($limit))
134 134
             {