projects
/
web.Reddit
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
751c528
)
Reddit.php
author
Alan Knowles
<alan@roojs.com>
Tue, 16 Dec 2014 10:15:52 +0000
(18:15 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 16 Dec 2014 10:15:52 +0000
(18:15 +0800)
Reddit.php
patch
|
blob
|
history
diff --git
a/Reddit.php
b/Reddit.php
index
7f36cff
..
6628c68
100644
(file)
--- 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;
+ }
}