前端
This commit is contained in:
parent
663f198d4f
commit
956f6fd7a4
@ -205,9 +205,8 @@ if ($act == 'newevent') {
|
|||||||
$del = r('del');
|
$del = r('del');
|
||||||
$content = stripslashes(r('content'));
|
$content = stripslashes(r('content'));
|
||||||
$dict = array();
|
$dict = array();
|
||||||
$event = DB::getone("select yanqi_history from calendar where id='{$id}'");
|
$event = DB::getone("select yanqi_history from calendar where id={$id}");
|
||||||
$yanqi_history = $event['yanqi_history'];
|
$yanqi_history = $event['yanqi_history'];
|
||||||
$yanqi_history=json_decode($yanqi_history,true);
|
|
||||||
if(!$del) {
|
if(!$del) {
|
||||||
$yanqi_history[$idx]['reason'] = $content;
|
$yanqi_history[$idx]['reason'] = $content;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user