Both spellings work: https://github.com/Elgg/Elgg/blob/2b5f118a4399e096a2642e687055c0fa2c7eb775/engine/lib/elgglib.php#L2149