@@ 413-420 (lines=8) @@ | ||
410 | } |
|
411 | ||
412 | // evalutate selects |
|
413 | if ($options['selects']) { |
|
414 | $selects = ''; |
|
415 | foreach ($options['selects'] as $select) { |
|
416 | $selects .= ", $select"; |
|
417 | } |
|
418 | } else { |
|
419 | $selects = ''; |
|
420 | } |
|
421 | ||
422 | if (!$options['count']) { |
|
423 | $distinct = $options['distinct'] ? "DISTINCT" : ""; |
@@ 1330-1337 (lines=8) @@ | ||
1327 | } |
|
1328 | ||
1329 | // evalutate selects |
|
1330 | if ($options['selects']) { |
|
1331 | $selects = ''; |
|
1332 | foreach ($options['selects'] as $select) { |
|
1333 | $selects .= ", $select"; |
|
1334 | } |
|
1335 | } else { |
|
1336 | $selects = ''; |
|
1337 | } |
|
1338 | ||
1339 | if (!$options['count']) { |
|
1340 | $distinct = ''; |
|
@@ 1482-1489 (lines=8) @@ | ||
1479 | } |
|
1480 | ||
1481 | // evalutate selects |
|
1482 | if ($options['selects']) { |
|
1483 | $selects = ''; |
|
1484 | foreach ($options['selects'] as $select) { |
|
1485 | $selects .= ", $select"; |
|
1486 | } |
|
1487 | } else { |
|
1488 | $selects = ''; |
|
1489 | } |
|
1490 | ||
1491 | if (!$options['count']) { |
|
1492 | $distinct = ''; |