diff --git a/code/CMSBatchAction.php b/code/CMSBatchAction.php index 23f45099..d04cb3f6 100644 --- a/code/CMSBatchAction.php +++ b/code/CMSBatchAction.php @@ -187,7 +187,7 @@ class CMSBatchAction_DeleteFromLive extends CMSBatchAction { 'TreeTitle' => $stageRecord->TreeTitle, ); } else { - $status['deleted'][$stageRecord->ID] = array(); + $status['deleted'][$id] = array(); } }