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:56:12 -0700
commit65e5894363e5cd5a9c8a61a0387f90068215f58e (patch)
tree91b335f094d5aca8cc37c3447d8993f5b573291d
parentdbef80f7bdf43047c721518f888eb859cda1ea0e (diff)
downloadvolse-hubzilla-65e5894363e5cd5a9c8a61a0387f90068215f58e.tar.gz
volse-hubzilla-65e5894363e5cd5a9c8a61a0387f90068215f58e.tar.bz2
volse-hubzilla-65e5894363e5cd5a9c8a61a0387f90068215f58e.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']))