Commit c0f0fa9e authored by Mario's avatar Mario
Browse files

Merge branch 'dev' of https://framagit.org/hubzilla/addons into dev

parents 573a3db3 ed090211
......@@ -180,7 +180,7 @@ function photocache_hash($str, $alg = 'sha256') {
if(! $ph->save($r, true))
logger('can not create new link in database', LOGGER_DEBUG);
}
$s['body'] = str_replace($match[3], z_root() . '/photo/' . $resid . '-' . ($cache['item']['imgscale'] ? $cache['item']['imgscale'] : 0), $s['body']);
$s['body'] = str_replace($match[3], z_root() . '/photo/' . $resid, $s['body']);
logger('local resource id ' . $resid . '; xchan: ' . $hash . '; url: ' . $match[3]);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment