From: Alan Knowles Date: Sun, 28 Oct 2012 13:56:59 +0000 (+0800) Subject: DataObjects/Core_watch.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=10bb934ad474aa9ba1ac68cf849817b7c2caa037 DataObjects/Core_watch.php --- 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; }