Skip to content

Commit

Permalink
Merge pull request #9558 from yashodha/CRM-18472
Browse files Browse the repository at this point in the history
CRM-18472: notice fixes
  • Loading branch information
Yashodha Chaku authored Dec 19, 2016
2 parents 961c10e + c0f9acf commit b74fe88
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
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

0 comments on commit b74fe88

Please sign in to comment.