aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-07-03 22:51:49 -0700
committerfriendica <info@friendica.com>2013-07-03 22:51:49 -0700
commit6f390330ff45c2b636a20c2c4e32e70c74523d6a (patch)
treec841cee3a00b87293b8b2295e1dcaeaa5d24cf72 /mod
parentfbdee83dca4aa9e5d66488f32121d8c62e378316 (diff)
downloadvolse-hubzilla-6f390330ff45c2b636a20c2c4e32e70c74523d6a.tar.gz
volse-hubzilla-6f390330ff45c2b636a20c2c4e32e70c74523d6a.tar.bz2
volse-hubzilla-6f390330ff45c2b636a20c2c4e32e70c74523d6a.zip
nearly ready for the output template
Diffstat (limited to 'mod')
-rw-r--r--mod/thing.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/mod/thing.php b/mod/thing.php
index 8ecf00d01..6df4aa3b6 100644
--- a/mod/thing.php
+++ b/mod/thing.php
@@ -99,11 +99,12 @@ function thing_init(&$a) {
}
$term = $r[0];
- $r = q("insert into obj ( obj_page, obj_verb, obj_type, obj_channel) values ('%s','%s', %d,%d) ",
+ $r = q("insert into obj ( obj_page, obj_verb, obj_type, obj_channel, obj_obj) values ('%s','%s', %d, %d, '%s') ",
dbesc($profile),
dbesc($verb),
intval(TERM_OBJ_THING),
- intval(local_user())
+ intval(local_user()),
+ dbesc($term['term_hash'])
);
if(! $r) {