Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CRM-18472: notice fixes #9558

Merged
merged 1 commit into from
Dec 19, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CRM/Contribute/BAO/ContributionSoft.php
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ public static function retrieve(&$params, &$defaults) {
public static function del($params) {
//delete from contribution soft table
$contributionSoft = new CRM_Contribute_DAO_ContributionSoft();
$contributionSoft->id = $params['id'];
$contributionSoft->id = CRM_Utils_Array::value('id', $params);
if (!$contributionSoft->find()) {
return FALSE;
}
Expand Down
4 changes: 2 additions & 2 deletions tests/phpunit/CiviTest/CiviMailUtils.php
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ public function getAllMessages($type = 'raw') {
$msgs = array();

if ($this->_webtest) {
throw new Exception("Not implementated: getAllMessages for WebTest");
throw new Exception("Not implemented: getAllMessages for WebTest");
}
else {
$dao = CRM_Core_DAO::executeQuery('SELECT headers, body FROM civicrm_mailing_spool ORDER BY id');
Expand Down Expand Up @@ -336,7 +336,7 @@ public function assertSubjects($expectedSubjects) {
*/
public function clearMessages($limit = 1) {
if ($this->_webtest) {
throw new Exception("Not implementated: clearMessages for WebTest");
throw new Exception("Not implemented: clearMessages for WebTest");
}
else {
CRM_Core_DAO::executeQuery('DELETE FROM civicrm_mailing_spool ORDER BY id DESC LIMIT ' . $limit);
Expand Down