aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-01-17 21:08:16 -0800
committerFriendika <info@friendika.com>2011-01-17 21:08:16 -0800
commit028460a5c1de4833bb1dcfaa945c1292952bf923 (patch)
tree2377a23718c3406206f03b65aad2a9f5b1eb8b12 /include
parentfa1f2ce8f38962b97c4a6a327c5f50e238eabb9b (diff)
downloadvolse-hubzilla-028460a5c1de4833bb1dcfaa945c1292952bf923.tar.gz
volse-hubzilla-028460a5c1de4833bb1dcfaa945c1292952bf923.tar.bz2
volse-hubzilla-028460a5c1de4833bb1dcfaa945c1292952bf923.zip
tracking errant bin2hex call
Diffstat (limited to 'include')
-rw-r--r--include/items.php4
-rw-r--r--include/poller.php4
2 files changed, 4 insertions, 4 deletions
diff --git a/include/items.php b/include/items.php
index beed024a1..1fdbc6fc2 100644
--- a/include/items.php
+++ b/include/items.php
@@ -788,8 +788,8 @@ function dfrn_deliver($owner,$contact,$atom) {
return (($res->status) ? $res->status : 3);
$postvars = array();
- $sent_dfrn_id = hex2bin($res->dfrn_id);
- $challenge = hex2bin($res->challenge);
+ $sent_dfrn_id = hex2bin((string) $res->dfrn_id);
+ $challenge = hex2bin((string) $res->challenge);
$rino_allowed = ((intval($res->rino) === 1) ? 1 : 0);
$final_dfrn_id = '';
diff --git a/include/poller.php b/include/poller.php
index 28e421f5f..fc45ff9c3 100644
--- a/include/poller.php
+++ b/include/poller.php
@@ -186,8 +186,8 @@
$postvars = array();
- $sent_dfrn_id = hex2bin($res->dfrn_id);
- $challenge = hex2bin($res->challenge);
+ $sent_dfrn_id = hex2bin((string) $res->dfrn_id);
+ $challenge = hex2bin((string) $res->challenge);
$final_dfrn_id = '';