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

index a315c5c..3a100ee 100644 (file)
@@ -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;
             }