Reddit.php
[web.Reddit] / Reddit.php
index 7f36cff..6628c68 100644 (file)
@@ -28,7 +28,13 @@ class  Reddit  extends Pman
         ");
         
         $f->orderBy('created_dt ASC');
-        $this->feed = $f->fetchAll();
+        $f->find();
+        $this->feed=array();
+        while ($f->fetch())
+            $c = clone($f);
+            $c->embed_ar = $c->embedsArray();
+            $this->feed[] = $c;
+        }
         
         
     }