Add comment for distribution::objectGetEntries()'s LIMIT behavior
This commit is contained in:
committed by
WineHQ
parent
dcde50b38c
commit
00bc2fbd27
@@ -420,8 +420,9 @@ class distribution {
|
||||
if($bQueued && !distribution::canEdit())
|
||||
return NULL;
|
||||
|
||||
/* If row limit is 0 we want to fetch all rows */
|
||||
if(!$iRows)
|
||||
$iRows = distribution::getNumberOfDistributions($bQueued);
|
||||
$iRows = distribution::objectGetEntriesCount($bQueued);
|
||||
|
||||
$sQuery = "SELECT * FROM distributions
|
||||
WHERE queued = '?' ORDER BY name LIMIT ?,?";
|
||||
|
||||
Reference in New Issue
Block a user