summaryrefslogtreecommitdiffstats
path: root/models/Post.php
diff options
context:
space:
mode:
authorraylu <raylu@mixpanel.com>2011-07-02 17:02:07 -0700
committerraylu <raylu@mixpanel.com>2011-07-02 17:02:07 -0700
commit05a2b26d9038752a40348a3f226e44710833c49b (patch)
tree9bc3e49ac2e84b33ca5ff6e44eb7e5f2c02d13bf /models/Post.php
parent83483a1826d1d05e2f9733746f35fef1939b8c0a (diff)
downloadotakuhub-05a2b26d9038752a40348a3f226e44710833c49b.tar.xz
pull in dev branch changes
not pulled: swiftmailer, gzip
Diffstat (limited to 'models/Post.php')
-rw-r--r--models/Post.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/models/Post.php b/models/Post.php
index 58e2487..ec82ca2 100644
--- a/models/Post.php
+++ b/models/Post.php
@@ -67,7 +67,9 @@ class Post extends \lithium\data\Model {
if ($user)
{
//Add the post to their feed,
- return $post->store($user);
+ var_dump($entity->data());
+ $entity->save();
+ return $entity->store($user);
}
//If the user wasn't found
return false;