diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-10-11 23:22:38 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-10-11 23:22:38 -0700 |
commit | b9d768972e94dfa5e1511779726091214dece5cf (patch) | |
tree | 6d0f25ec30afa8801506818e427d434e96fe36f5 /mod/dfrn_confirm.php | |
parent | 6b67d00fce5daaa26afa738beb06a91a4b10ccac (diff) | |
download | volse-hubzilla-b9d768972e94dfa5e1511779726091214dece5cf.tar.gz volse-hubzilla-b9d768972e94dfa5e1511779726091214dece5cf.tar.bz2 volse-hubzilla-b9d768972e94dfa5e1511779726091214dece5cf.zip |
added 's' keys - salmon keys, small keys, stupid keys, whatever...
Diffstat (limited to 'mod/dfrn_confirm.php')
-rw-r--r-- | mod/dfrn_confirm.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/dfrn_confirm.php b/mod/dfrn_confirm.php index dd50e82a0..265a62b88 100644 --- a/mod/dfrn_confirm.php +++ b/mod/dfrn_confirm.php @@ -290,7 +290,7 @@ function dfrn_confirm_post(&$a) { $source_url = hex2bin($_POST['source_url']); $aes_key = $_POST['aes_key']; $duplex = $_POST['duplex']; - $version_id = $_POST['dfrn_version']; + $version_id = (float) $_POST['dfrn_version']; // If $aes_key is set, both of these items require unpacking from the hex transport encoding. @@ -483,7 +483,7 @@ function dfrn_confirm_post(&$a) { $res = mail($r[0]['email'], t("Connection accepted at ") . $a->config['sitename'], $email_tpl, 'From: ' . t('Administrator') . '@' . $_SERVER[SERVER_NAME] ); if(!$res) { - notice( t("Email notification failed.") . EOL ); + // pointless throwing an error here and confusing the person at the other end of the wire. } } xml_status(0); // Success |