修复 Issue #30 在 PHP 7.1 环境下,删除已收藏的帖子,报内部错误的问题;
This commit is contained in:
parent
b5e209ff74
commit
ef14088201
|
@ -54,7 +54,7 @@ if($_GET['op'] == 'delete') {
|
|||
C::t('home_favorite')->delete($favid);
|
||||
if($_G['setting']['cloud_status']) {
|
||||
$favoriteService = Cloud::loadClass('Service_Client_Favorite');
|
||||
$favoriteService->remove($_G['uid'], $favid);
|
||||
$favoriteService->remove($_G['uid'], $favid, TIMESTAMP);
|
||||
}
|
||||
showmessage('do_success', 'home.php?mod=space&uid='.$_G['uid'].'&do=favorite&view=me&type='.$_GET['type'].'&quickforward=1', array('favid' => $favid, 'id' => $thevalue['id']), array('showdialog'=>1, 'showmsg' => true, 'closetime' => true, 'locationtime' => 3));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue