}
$contactID = $this->getContactID();
- if ($this->getContactID() === '0') {
+ if ($this->getContactID() === 0) {
$this->addCidZeroOptions($onlinePaymentProcessorEnabled);
}
+
//build pledge block.
$this->_useForMember = 0;
//don't build membership block when pledge_id is passed
// from that page
// we don't really need to set it when $tempID is set because the params have that stored
$this->set('cid', 0);
- return $tempID;
+ return (int) $tempID;
}
$userID = $this->getLoggedInUserContactID();
if ($tempID == $userID) {
- return $userID;
+ return (int) $userID;
}
//check if this is a checksum authentication
$pps[$key] = $name['name'];
}
}
- if ($this->getContactID() === '0' && !$this->_values['event']['is_multiple_registrations']) {
+ if ($this->getContactID() === 0 && !$this->_values['event']['is_multiple_registrations']) {
//@todo we are blocking for multiple registrations because we haven't tested
$this->addCidZeroOptions($onlinePaymentProcessorEnabled);
}