diff options
author | friendica <info@friendica.com> | 2014-07-14 21:21:24 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-07-14 21:21:24 -0700 |
commit | 1accf82bd10f73b22e0c169100932ccfbd81977b (patch) | |
tree | 63ddb9e00eee14118254e7cf08a9322ae5cc8add /include/items.php | |
parent | f710ebc7f97845f48cefc3d01acf6793c86f5652 (diff) | |
download | volse-hubzilla-1accf82bd10f73b22e0c169100932ccfbd81977b.tar.gz volse-hubzilla-1accf82bd10f73b22e0c169100932ccfbd81977b.tar.bz2 volse-hubzilla-1accf82bd10f73b22e0c169100932ccfbd81977b.zip |
clean up more code duplication
Diffstat (limited to 'include/items.php')
-rwxr-xr-x | include/items.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php index 26d2fbe1c..10daa85f2 100755 --- a/include/items.php +++ b/include/items.php @@ -734,7 +734,7 @@ function get_item_elements($x) { return array(); // save a potentially expensive lookup if author == owner - if($arr['author_xchan'] === base64url_encode(hash('whirlpool',$x['owner']['guid'] . $x['owner']['guid_sig'], true))) + if($arr['author_xchan'] === make_xchan_hash($x['owner']['guid'],$x['owner']['guid_sig'])) $arr['owner_xchan'] = $arr['author_xchan']; else { if(($xchan_hash = import_author_xchan($x['owner'])) !== false) |