Update pData.class.php

Fix bug. __construct of pData class is needed.