diff options
author | redmatrix <mike@macgirvin.com> | 2016-09-20 15:27:36 -0700 |
---|---|---|
committer | redmatrix <mike@macgirvin.com> | 2016-09-20 15:27:36 -0700 |
commit | f812866665cc11542a42f471dae1ae0990b47566 (patch) | |
tree | e6b68643757589df4a70cea45200aef5a3d47727 | |
parent | 299c46f118d39ea954ed52fd1b9cab617966db84 (diff) | |
download | volse-hubzilla-f812866665cc11542a42f471dae1ae0990b47566.tar.gz volse-hubzilla-f812866665cc11542a42f471dae1ae0990b47566.tar.bz2 volse-hubzilla-f812866665cc11542a42f471dae1ae0990b47566.zip |
issue #515
-rw-r--r-- | include/event.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/event.php b/include/event.php index 407736a23..153654120 100644 --- a/include/event.php +++ b/include/event.php @@ -378,6 +378,7 @@ function event_store_event($arr) { `event_repeat` = '%s', `event_sequence` = %d, `event_priority` = %d, + `event_vdata` = '%s', `allow_cid` = '%s', `allow_gid` = '%s', `deny_cid` = '%s', @@ -399,6 +400,7 @@ function event_store_event($arr) { dbesc($arr['event_repeat']), intval($arr['event_sequence']), intval($arr['event_priority']), + dbesc($arr['event_vdata']), dbesc($arr['allow_cid']), dbesc($arr['allow_gid']), dbesc($arr['deny_cid']), @@ -419,8 +421,8 @@ function event_store_event($arr) { $hash = random_string() . '@' . App::get_hostname(); $r = q("INSERT INTO event ( uid,aid,event_xchan,event_hash,created,edited,dtstart,dtend,summary,description,location,etype, - adjust,nofinish, event_status, event_status_date, event_percent, event_repeat, event_sequence, event_priority, 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', %d, '%s', %d, %d, '%s', '%s', '%s', '%s' ) ", + adjust,nofinish, event_status, event_status_date, event_percent, event_repeat, event_sequence, event_priority, event_vdata, 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', %d, '%s', %d, %d, '%s', '%s', '%s', '%s', '%s' ) ", intval($arr['uid']), intval($arr['account']), dbesc($arr['event_xchan']), @@ -441,6 +443,7 @@ function event_store_event($arr) { dbesc($arr['event_repeat']), intval($arr['event_sequence']), intval($arr['event_priority']), + dbesc($arr['event_vdata']), dbesc($arr['allow_cid']), dbesc($arr['allow_gid']), dbesc($arr['deny_cid']), |