Update lib/gantti.php

eliminated some Notices I was getting due to undefined index "class".