aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Oep.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2019-03-04 20:07:01 -0800
committerzotlabs <mike@macgirvin.com>2019-03-04 20:07:01 -0800
commit938fcdd1a6e8db47d2e66d68f8face9925bb7963 (patch)
treea44d1c9575a1383364f3f27465c067ef7dbd3051 /Zotlabs/Module/Oep.php
parent9ede57b228b7baf9e1bc5881d33ebf55773af7a3 (diff)
downloadvolse-hubzilla-938fcdd1a6e8db47d2e66d68f8face9925bb7963.tar.gz
volse-hubzilla-938fcdd1a6e8db47d2e66d68f8face9925bb7963.tar.bz2
volse-hubzilla-938fcdd1a6e8db47d2e66d68f8face9925bb7963.zip
mod_oep: photos/album/xxxxx is no longer hex2bin/bin2hex but the album hash and is throwing php warnings when trying to decode
Diffstat (limited to 'Zotlabs/Module/Oep.php')
-rw-r--r--Zotlabs/Module/Oep.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Oep.php b/Zotlabs/Module/Oep.php
index c0d8e15e5..3977ac8dd 100644
--- a/Zotlabs/Module/Oep.php
+++ b/Zotlabs/Module/Oep.php
@@ -456,7 +456,7 @@ class Oep extends \Zotlabs\Web\Controller {
if(preg_match('|//(.*?)/(.*?)/(.*?)/album/|',$url,$matches)) {
$chn = $matches[3];
- $res = hex2bin(basename($url));
+ $res = basename($url);
}
if(! ($chn && $res))