aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-04-07 14:56:12 -0700
committerzotlabs <mike@macgirvin.com>2017-04-07 14:57:29 -0700
commita32b097e3c121738ea0a6e34ca2955d9385851d3 (patch)
tree35052cbc728c2c379914f78e7dadd18f64c851d3
parent2ebf76cd501d478cd36b9665b68730b8d58b266d (diff)
downloadvolse-hubzilla-a32b097e3c121738ea0a6e34ca2955d9385851d3.tar.gz
volse-hubzilla-a32b097e3c121738ea0a6e34ca2955d9385851d3.tar.bz2
volse-hubzilla-a32b097e3c121738ea0a6e34ca2955d9385851d3.zip
photo size-0 issue
-rw-r--r--include/photo/photo_driver.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/photo/photo_driver.php b/include/photo/photo_driver.php
index 923e34dbe..cc1f3b5d0 100644
--- a/include/photo/photo_driver.php
+++ b/include/photo/photo_driver.php
@@ -330,6 +330,7 @@ abstract class photo_driver {
$p['photo_usage'] = intval($arr['photo_usage']);
$p['os_storage'] = intval($arr['os_storage']);
$p['os_path'] = $arr['os_path'];
+ $p['os_syspath'] = ((array_key_exists('os_syspath',$arr)) ? $arr['os_syspath'] : '');
$p['display_path'] = (($arr['display_path']) ? $arr['display_path'] : '');
if(! intval($p['imgscale']))