aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2019-06-18 19:17:33 +0200
committerMario <mario@mariovavti.com>2019-06-18 19:17:33 +0200
commitf046a34d34b4799b45bfae859969be4d20565545 (patch)
treeece97fb1b9d96fe279deaa8a9dcdd89064476896
parentdf228237deb4dad06652a176f8691f611a641eed (diff)
parent9e3a4402e0d9a1df7268bc3fceafa1566f480992 (diff)
downloadvolse-hubzilla-f046a34d34b4799b45bfae859969be4d20565545.tar.gz
volse-hubzilla-f046a34d34b4799b45bfae859969be4d20565545.tar.bz2
volse-hubzilla-f046a34d34b4799b45bfae859969be4d20565545.zip
Merge branch 'patch-2' into 'master'
Fix os_path replace for thumbnails See merge request hubzilla/core!1673
-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) {