Thread:Extension talk:CategoryTree/CategoryTree in SideBar with HideRoot set to true (2)

I changed the file "CategoryTreeFunctions.php" to the following:

I added "$hideroot or" part. Don't know if this will have unwanted side affects in regular pages, but it does fix the problem of the Categories not displaying when hideroot is set to false.