Add comment for distribution::objectGetEntries()'s LIMIT behavior

This commit is contained in:
Alexander Nicolaysen Sørnes
2007-03-13 18:29:28 +00:00
committed by WineHQ
parent dcde50b38c
commit 00bc2fbd27

View File

@@ -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 ?,?";