Update category.php

getCategories() should have an optional data parameter instead of a required one