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

index d8ca716..e3a0321 100644 (file)
@@ -744,7 +744,7 @@ class Pman_Roo extends Pman
         }
         
         if ($has_distinct) {
-            $this->selectAdd($has_distinct);
+            $do->selectAdd($has_distinct);
         }
         //DB_DataObject::debugLevel(1);
         // we do select as after everything else as we need to plop distinct at the beginning??