Fix undefined index error while creating a new forum