* Build all the data structures needed to build the form.
*/
public function preProcess() {
- $this->_activityId = CRM_Utils_Request::retrieve('activityId', 'Positive', CRM_Core_DAO::$_nullObject);
+ $this->_activityId = CRM_Utils_Request::retrieve('activityId', 'Positive');
if (!$this->_activityId) {
CRM_Core_Error::fatal('required activity id is missing.');
}
- $this->_currentCaseId = CRM_Utils_Request::retrieve('caseId', 'Positive', CRM_Core_DAO::$_nullObject);
+ $this->_currentCaseId = CRM_Utils_Request::retrieve('caseId', 'Positive');
$this->assign('currentCaseId', $this->_currentCaseId);
$this->assign('buildCaseActivityForm', TRUE);
}