projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #12979 from mattwire/datepicker_eventparticipant_register
[civicrm-core.git]
/
CRM
/
Core
/
Form.php
diff --git
a/CRM/Core/Form.php
b/CRM/Core/Form.php
index abfbcdfcd44236ebd000ba53e94106db9beea29a..613bcf227deeb3854f3d1edf4f214b2eec23a4fe 100644
(file)
--- a/
CRM/Core/Form.php
+++ b/
CRM/Core/Form.php
@@
-1589,6
+1589,7
@@
class CRM_Core_Form extends HTML_QuickForm_Page {
return $this->addEntityRef($name, $label, $props, $required);
case 'Password':
return $this->addEntityRef($name, $label, $props, $required);
case 'Password':
+ $props['size'] = isset($props['size']) ? $props['size'] : 60;
return $this->add('password', $name, $label, $props, $required);
// Check datatypes of fields
return $this->add('password', $name, $label, $props, $required);
// Check datatypes of fields
@@
-2068,7
+2069,7
@@
class CRM_Core_Form extends HTML_QuickForm_Page {
$validUser = CRM_Contact_BAO_Contact_Utils::validChecksum($tempID, $userChecksum);
if ($validUser) {
CRM_Core_Resources::singleton()->addVars('coreForm', array('contact_id' => (int) $tempID));
$validUser = CRM_Contact_BAO_Contact_Utils::validChecksum($tempID, $userChecksum);
if ($validUser) {
CRM_Core_Resources::singleton()->addVars('coreForm', array('contact_id' => (int) $tempID));
- CRM_Core_Resources::singleton()->addVars('coreForm', array('checksum' =>
(int) $tempID
));
+ CRM_Core_Resources::singleton()->addVars('coreForm', array('checksum' =>
$userChecksum
));
return $tempID;
}
}
return $tempID;
}
}