From 2f37e1083b1e478fe3820418b6e53279bc703f03 Mon Sep 17 00:00:00 2001 From: tjhunt Date: Fri, 12 Dec 2008 06:19:01 +0000 Subject: [PATCH] course categories: fix typo introduced when fixing MDL-10801 --- course/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/course/index.php b/course/index.php index cd58288092..49f374799d 100644 --- a/course/index.php +++ b/course/index.php @@ -116,7 +116,7 @@ print_category_edit_header(); print_heading($heading); - if ($datadelete) { + if ($data->fulldelete) { category_delete_full($deletecat, true); } else { category_delete_move($deletecat, $data->newparent, true); -- 2.39.5