From c7d9b0081128b55493ea77368f2264eb8df3480a Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Sun, 28 Oct 2012 21:56:43 +0800 Subject: [PATCH] DataObjects/Core_watch.php --- DataObjects/Core_watch.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/DataObjects/Core_watch.php b/DataObjects/Core_watch.php index 7f6752ec..6e338752 100644 --- a/DataObjects/Core_watch.php +++ b/DataObjects/Core_watch.php @@ -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; } -- 2.39.2