digicademy/category_selector — pull request #1 by webian (2014-09-04 15:31:48+00:00)
Title: Call array_key_exists only if $array[$level] is not NULL

If $array[$level] is NULL then array_key_exists will produce:
PHP warnings: array_key_exists() expects parameter 2 to be array, null given in