aboutsummaryrefslogtreecommitdiffstats
path: root/util/thumbrepair
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2019-06-18 18:24:19 +0200
committerMax Kostikov <max@kostikov.co>2019-06-18 18:24:19 +0200
commit0d165920bb08a33e24638fa460c18f953bdae91a (patch)
tree1eaae97f08a4623da90ae57240f1704cf559761d /util/thumbrepair
parenta677a68ab7e1f50f5b11c02a42dbc6cad3ebb444 (diff)
parent34d7aea1be78fb881773799eb9faa6e74985d772 (diff)
downloadvolse-hubzilla-0d165920bb08a33e24638fa460c18f953bdae91a.tar.gz
volse-hubzilla-0d165920bb08a33e24638fa460c18f953bdae91a.tar.bz2
volse-hubzilla-0d165920bb08a33e24638fa460c18f953bdae91a.zip
Merge branch 'dev' into 'dev'
Fix os_path replace for thumbnails See merge request hubzilla/core!1672
Diffstat (limited to 'util/thumbrepair')
-rwxr-xr-xutil/thumbrepair2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/thumbrepair b/util/thumbrepair
index 6d3eabdbd..acd453719 100755
--- a/util/thumbrepair
+++ b/util/thumbrepair
@@ -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) {