Merge branch 'dev' into 'dev'

Fix os_path replace for thumbnails

See merge request hubzilla/core!1672
This commit is contained in:
Max Kostikov 2019-06-18 18:24:19 +02:00
commit 0d165920bb

View File

@ -7,7 +7,7 @@ require_once('include/photo/photo_driver.php');
cli_startup();
$x = q("SELECT resource_id, content, width, height, mimetype FROM photo WHERE photo_usage = 0 AND os_storage = 1 AND imgscale = 0");
$x = q("SELECT resource_id, content, width, height, mimetype, os_path FROM photo WHERE photo_usage = 0 AND os_storage = 1 AND imgscale = 0");
if($x) {
foreach($x as $xx) {