Skip to content

Commit

Permalink
Merge pull request #9591 from AppChecker/master
Browse files Browse the repository at this point in the history
CRM-19805: comparing instead of assigning
  • Loading branch information
Yashodha Chaku authored Jan 2, 2017
2 parents e28341f + f172f36 commit b80f582
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CRM/Core/BAO/CMSUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ public static function formRule($fields, $files, $form) {
}

if ($emailName == NULL) {
$errors['_qf_default'] == ts('Could not find an email address.');
$errors['_qf_default'] = ts('Could not find an email address.');
return $errors;
}

Expand Down
2 changes: 1 addition & 1 deletion CRM/Core/Payment/PayflowPro.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public function doDirectPayment(&$params) {
);

if ($params['installments'] == 1) {
$params['is_recur'] == FALSE;
$params['is_recur'] = FALSE;
}

if ($params['is_recur'] == TRUE) {
Expand Down
2 changes: 1 addition & 1 deletion CRM/Event/Page/ParticipantListing/Name.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
*/
class CRM_Event_Page_ParticipantListing_Name extends CRM_Event_Page_ParticipantListing_Simple {
public function preProcess() {
$this->_participantListingType == 'Name';
$this->_participantListingType = 'Name';

parent::preProcess();
}
Expand Down

0 comments on commit b80f582

Please sign in to comment.