aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2019-06-18 18:17:28 +0200
committerMax Kostikov <max@kostikov.co>2019-06-18 18:17:28 +0200
commit34d7aea1be78fb881773799eb9faa6e74985d772 (patch)
tree1eaae97f08a4623da90ae57240f1704cf559761d
parente2abc0b7277956651d2947c34a0522a77a59a9a5 (diff)
downloadvolse-hubzilla-34d7aea1be78fb881773799eb9faa6e74985d772.tar.gz
volse-hubzilla-34d7aea1be78fb881773799eb9faa6e74985d772.tar.bz2
volse-hubzilla-34d7aea1be78fb881773799eb9faa6e74985d772.zip
Fix os_path replace for thumbnails
-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) {