diff options
author | Michael Johnston <michaelgeorgejohnston@gmail.com> | 2013-03-07 02:05:19 -0500 |
---|---|---|
committer | Michael Johnston <michaelgeorgejohnston@gmail.com> | 2013-03-07 02:07:51 -0500 |
commit | 41cd10f9035f52dce664aea443f06b15d3463994 (patch) | |
tree | 8b18faef9e89da9bcb7bf55ddb77d5c785d01ac2 /include/event.php | |
parent | 863dcda8ee2e6a193729b4cb74a0bb60d364372b (diff) | |
download | volse-hubzilla-41cd10f9035f52dce664aea443f06b15d3463994.tar.gz volse-hubzilla-41cd10f9035f52dce664aea443f06b15d3463994.tar.bz2 volse-hubzilla-41cd10f9035f52dce664aea443f06b15d3463994.zip |
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
Diffstat (limited to 'include/event.php')
-rw-r--r-- | include/event.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/event.php b/include/event.php index 6a35bd0ad..e334c5a4f 100644 --- a/include/event.php +++ b/include/event.php @@ -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']), |