diff options
author | Mario Vavti <mario@mariovavti.com> | 2016-06-01 09:15:56 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2016-06-01 09:15:56 +0200 |
commit | c1039977f1d64611d2c793f3aded96d031b74183 (patch) | |
tree | fa32a8f59c863564998cd149a902388dd363d605 /include/event.php | |
parent | 316fee93f7f7df92db514de961b74a71556fdb63 (diff) | |
parent | b1259876bf398880e7b0c1b44d90f94983243e72 (diff) | |
download | volse-hubzilla-c1039977f1d64611d2c793f3aded96d031b74183.tar.gz volse-hubzilla-c1039977f1d64611d2c793f3aded96d031b74183.tar.bz2 volse-hubzilla-c1039977f1d64611d2c793f3aded96d031b74183.zip |
Merge branch 'dev' into sabre32
Diffstat (limited to 'include/event.php')
-rw-r--r-- | include/event.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/event.php b/include/event.php index db67dac64..81e403d37 100644 --- a/include/event.php +++ b/include/event.php @@ -854,12 +854,12 @@ function event_store_item($arr, $event) { if(($arr['term']) && (is_array($arr['term']))) { foreach($arr['term'] as $t) { - q("insert into term (uid,oid,otype,type,term,url) + q("insert into term (uid,oid,otype,ttype,term,url) values(%d,%d,%d,%d,'%s','%s') ", intval($arr['uid']), intval($r[0]['id']), intval(TERM_OBJ_POST), - intval($t['type']), + intval($t['ttype']), dbesc($t['term']), dbesc($t['url']) ); |