Always update the whole list, since there's no easy way to tell if the filters will exclude the entry

This commit is contained in:
Nathan Gray 2014-04-07 20:27:57 +00:00
parent 2e72b12452
commit 87f87d4f86

View File

@ -1643,8 +1643,7 @@ class infolog_ui
}
if (($button == 'save' || $button == 'apply') && (!$info_id || $edit_acl || $status_only || $undelete))
{
// Most changes we can just update, but un-delete needs an edit
$operation = $info_id ? ($old['info_status'] == 'deleted' ? 'edit' : 'update') : 'add';
$operation = $info_id ? 'edit' : 'add';
if ($content['info_contact'])
{
$old_link_id = (int)$content['info_link_id'];