edited event showing bad signature and null_date for edit timestamp

This commit is contained in:
redmatrix
2015-08-24 01:46:54 -07:00
parent eac9c8a7e6
commit d256e8e9f2
2 changed files with 12 additions and 1 deletions

View File

@@ -132,6 +132,10 @@ function events_post(&$a) {
}
return;
}
$created = $x[0]['created'];
$edited = datetime_convert();
if($x[0]['allow_cid'] === '<' . $channel['channel_hash'] . '>'
&& $x[0]['allow_gid'] === '' && $x[0]['deny_cid'] === '' && $x[0]['deny_gid'] === '') {
$share = false;
@@ -150,6 +154,7 @@ function events_post(&$a) {
}
}
else {
$created = $edited = datetime_convert();
if($share) {
$str_group_allow = perms2str($_POST['group_allow']);
$str_contact_allow = perms2str($_POST['contact_allow']);