aboutsummaryrefslogtreecommitdiffstats
path: root/util/thumbrepair
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2019-06-18 18:19:17 +0200
committerMax Kostikov <max@kostikov.co>2019-06-18 18:19:17 +0200
commit9e3a4402e0d9a1df7268bc3fceafa1566f480992 (patch)
treeece97fb1b9d96fe279deaa8a9dcdd89064476896 /util/thumbrepair
parentdf228237deb4dad06652a176f8691f611a641eed (diff)
downloadvolse-hubzilla-9e3a4402e0d9a1df7268bc3fceafa1566f480992.tar.gz
volse-hubzilla-9e3a4402e0d9a1df7268bc3fceafa1566f480992.tar.bz2
volse-hubzilla-9e3a4402e0d9a1df7268bc3fceafa1566f480992.zip
Fix os_path replace for thumbnails
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) {