From 10bb934ad474aa9ba1ac68cf849817b7c2caa037 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Sun, 28 Oct 2012 21:56:59 +0800 Subject: [PATCH] DataObjects/Core_watch.php --- DataObjects/Core_watch.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DataObjects/Core_watch.php b/DataObjects/Core_watch.php index a315c5c3..3a100ee0 100644 --- a/DataObjects/Core_watch.php +++ b/DataObjects/Core_watch.php @@ -88,7 +88,7 @@ class Pman_Core_DataObjects_Core_watch extends DB_DataObject //$w->selectAdd(); //$w->selectAdd('distinct(person_id) as person_id'); - forech($w->fetchAll() as $w) { + foreach($w->fetchAll() as $w) { if (!$w->person_id) { // no people??? bugs in watch table continue; } -- 2.39.2