Commit 9e3a4402 authored by Max Kostikov's avatar Max Kostikov

Fix os_path replace for thumbnails

parent df228237
Pipeline #143661 passed with stage
in 10 minutes and 5 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