some fixes related to events
- add backticks around column "desc" in sql query
- fixed query for data passed to showEvent
- showEvent was picking up on id from item instead of id from event
- fixed references to author info in template
This commit is contained in:
@@ -332,7 +332,7 @@ function event_store($arr) {
|
||||
$arr['uri'] = item_message_id();
|
||||
|
||||
|
||||
$r = q("INSERT INTO event ( uid,aid,event_xchan,event_hash,created,edited,start,finish,summary, desc,location,type,
|
||||
$r = q("INSERT INTO event ( uid,aid,event_xchan,event_hash,created,edited,start,finish,summary, `desc`,location,type,
|
||||
adjust,nofinish,allow_cid,allow_gid,deny_cid,deny_gid)
|
||||
VALUES ( %d, %d, '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', %d, %d, '%s', '%s', '%s', '%s' ) ",
|
||||
intval($arr['uid']),
|
||||
|
||||
Reference in New Issue
Block a user