From 6d9c9d393554edb714261c27e5cbac443ab59a07 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 16 Dec 2014 18:15:52 +0800 Subject: [PATCH] Reddit.php --- Reddit.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Reddit.php b/Reddit.php index 7f36cff08..6628c6822 100644 --- a/Reddit.php +++ b/Reddit.php @@ -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; + } } -- 2.39.2