projects
/
web.Reddit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Reddit.php
[web.Reddit]
/
Reddit.php
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;
+ }
}