From: tjhunt <tjhunt> Date: Fri, 12 Dec 2008 06:19:01 +0000 (+0000) Subject: course categories: fix typo introduced when fixing MDL-10801 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=2f37e1083b1e478fe3820418b6e53279bc703f03;p=moodle.git course categories: fix typo introduced when fixing MDL-10801 --- 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);