Commit f046a34d authored by Mario's avatar Mario

Merge branch 'patch-2' into 'master'

Fix os_path replace for thumbnails

See merge request !1673
parents df228237 9e3a4402
Pipeline #143686 passed with stages
in 11 minutes and 22 seconds
......@@ -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) {
......
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