issue #519 continued

This commit is contained in:
redmatrix 2016-09-28 18:37:05 -07:00
parent 095e2bf0b3
commit 245c2d4eed

View File

@ -1106,8 +1106,11 @@ function sync_files($channel,$files) {
// If the hash ever contains any escapable chars this could cause
// problems. Currently it does not.
dbesc_array($att);
// @TODO implement os_path
if(!isset($att['os_path']))
$att['os_path'] = '';
dbesc_array($att);
if($attach_exists) {
logger('sync_files attach exists: ' . print_r($att,true), LOGGER_DEBUG);