This commit is contained in:
redmatrix
2016-09-22 17:08:16 -07:00
parent 24ddc8e026
commit 7b90b0dfd9
2 changed files with 12 additions and 2 deletions

View File

@@ -1217,6 +1217,9 @@ function sync_files($channel,$files) {
$p['content'] = base64_decode($p['content']);
if(!isset($p['display_path']))
$p['display_path'] = '';
$exists = q("select * from photo where resource_id = '%s' and imgscale = %d and uid = %d limit 1",
dbesc($p['resource_id']),
intval($p['imgscale']),