DataObjects/Core_watch.php
authorAlan Knowles <alan@akbkhome.com>
Sun, 28 Oct 2012 13:56:43 +0000 (21:56 +0800)
committerAlan Knowles <alan@akbkhome.com>
Sun, 28 Oct 2012 13:56:43 +0000 (21:56 +0800)
DataObjects/Core_watch.php

index 7f6752e..6e33875 100644 (file)
@@ -85,10 +85,10 @@ class Pman_Core_DataObjects_Core_watch extends DB_DataObject
         if ($whereAdd !== false) { 
             $w->whereAdd($whereAdd  );
         }
-        $w->selectAdd();
-        $w->selectAdd('distinct(person_id) as person_id');
+        //$w->selectAdd();
+        //$w->selectAdd('distinct(person_id) as person_id');
         
-        foreach($w->fetchAll() as $w) { 
+        fore//ch($w->fetchAll() as $w) { 
             if (!$w->person_id) { // no people??? bugs in watch table
                 continue;
             }