habari/habari — Issue #253: Undelete plugin doesn't account for deleted users
Author: rick-c
Created: 2011-12-02 16:47:02+00:00
State: open
Labels: critical, defect

If one deletes a user with the undelete plugin active, and tell Habari to delete the user's posts, the posts are not permanently deleted. They are just marked as deleted. If one then goes to the manage posts page, one sees the following error for the deleted user's posts:

Notice: Trying to get property of non-object in system/admin/post_items.php line 21

In line 21, Habari is looking for the post author, which no longer exists.