fixed a few distractions

This commit is contained in:
real_nowhereman 2009-02-05 08:41:05 +00:00
parent 26a3e3c93c
commit 8d26385547

View File

@ -714,7 +714,7 @@
// PHASE 3 : Update index
$delete_cats = array();
$all_cats = @$entry['categories'];
$update_title = false;
$update_title = true;
if ($old_entry = entry_parse($id)) {
if ($all_cats) {
$delete_cats = array_diff($old_entry['categories'], $all_cats);
@ -799,7 +799,7 @@
fs_delete_recursive($d);
$obj =& entry_init();
$obj->delete($id);
$obj->delete($id, entry_parse($id));
do_action('delete_post', $id);