mod_oep: photos/album/xxxxx is no longer hex2bin/bin2hex but the album hash and is throwing php warnings when trying to decode

This commit is contained in:
zotlabs 2019-03-04 20:07:01 -08:00
parent 9ede57b228
commit 938fcdd1a6

View File

@ -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))