From: moodler Date: Mon, 25 Aug 2003 01:04:11 +0000 (+0000) Subject: No need to always show the resort button X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=7a3ca193d69a618c7a155c9a29a0a825034fc2bc;p=moodle.git No need to always show the resort button --- diff --git a/course/category.php b/course/category.php index c15781886b..01ad41106b 100644 --- a/course/category.php +++ b/course/category.php @@ -354,7 +354,7 @@ echo "
"; - if (isadmin()) { /// Print button to re-sort courses by name + if (isadmin() and $numcourses > 1) { /// Print button to re-sort courses by name unset($options); $options["id"] = $category->id; $options["resort"] = "name";