Pman/Roo.php
authorAlan Knowles <alan@akbkhome.com>
Thu, 11 Nov 2010 11:19:15 +0000 (19:19 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 11 Nov 2010 11:19:15 +0000 (19:19 +0800)
Pman/Roo.php

index 3122b1a..f2584f1 100644 (file)
@@ -656,7 +656,7 @@ class Pman_Roo extends Pman
         $selectAs = array(array(  $xx , '%s'));
         $this->countWhat = false;
         $has_distinct = false;
-        if ($filter) {
+        if ($filter || $distinct) {
             $cols = array();
            
             foreach($xx as $c) {