aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2019-03-05 04:07:01 +0000
committerMario <mario@mariovavti.com>2019-03-05 09:43:29 +0100
commita0bffe4a78d070d3a304658b61372ba65720e12c (patch)
tree48593539d3e0061a907f406af10cfbfdecbe191e
parent336c716a442978d2bcbd471ca29d2dd5ba8cb108 (diff)
downloadvolse-hubzilla-a0bffe4a78d070d3a304658b61372ba65720e12c.tar.gz
volse-hubzilla-a0bffe4a78d070d3a304658b61372ba65720e12c.tar.bz2
volse-hubzilla-a0bffe4a78d070d3a304658b61372ba65720e12c.zip
mod_oep: photos/album/xxxxx is no longer hex2bin/bin2hex but the album hash and is throwing php warnings when trying to decode
(cherry picked from commit 938fcdd1a6e8db47d2e66d68f8face9925bb7963)
-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))