DataObjects/Events.php
authorAlan Knowles <alan@akbkhome.com>
Mon, 14 May 2012 04:34:57 +0000 (12:34 +0800)
committerAlan Knowles <alan@akbkhome.com>
Mon, 14 May 2012 04:34:57 +0000 (12:34 +0800)
DataObjects/Events.php

index 5219cad..33d1b76 100644 (file)
@@ -190,7 +190,9 @@ class Pman_Core_DataObjects_Events extends DB_DataObject
             
         }
         // since roo does not support autojoin yet..
-        $this->autoJoinExtra();
+        if (!isset($q['_distinct'])) {
+            $this->autoJoinExtra();
+        }