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:
parent
9ede57b228
commit
938fcdd1a6
@ -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))
|
||||
|
Reference in New Issue
Block a user