aboutsummaryrefslogtreecommitdiffstats
path: root/include/photo/photo_driver.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2016-10-23 19:04:42 -0700
committerzotlabs <mike@macgirvin.com>2016-10-23 19:04:42 -0700
commit21b919a76b4bf229985f5ce3973590e95c8bc1bb (patch)
tree37f13199d289893430c89fe7ab75d39263db3368 /include/photo/photo_driver.php
parent5fbba27d17c78081e784fc2f8e9bb1907b79b4b7 (diff)
downloadvolse-hubzilla-21b919a76b4bf229985f5ce3973590e95c8bc1bb.tar.gz
volse-hubzilla-21b919a76b4bf229985f5ce3973590e95c8bc1bb.tar.bz2
volse-hubzilla-21b919a76b4bf229985f5ce3973590e95c8bc1bb.zip
correct encoding
Diffstat (limited to 'include/photo/photo_driver.php')
-rw-r--r--include/photo/photo_driver.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/photo/photo_driver.php b/include/photo/photo_driver.php
index 87e4cbd0c..af4fd0a30 100644
--- a/include/photo/photo_driver.php
+++ b/include/photo/photo_driver.php
@@ -378,7 +378,7 @@ abstract class photo_driver {
dbesc($p['album']),
intval($this->getHeight()),
intval($this->getWidth()),
- (intval($p['os_storage']) ? dbesc($p['os_path']) : dbescbin($this->imageString())),
+ (intval($p['os_storage']) ? dbescbin($p['os_path']) : dbescbin($this->imageString())),
intval($p['os_storage']),
intval(strlen($this->imageString())),
intval($p['imgscale']),
@@ -409,7 +409,7 @@ abstract class photo_driver {
dbesc($p['album']),
intval($this->getHeight()),
intval($this->getWidth()),
- (intval($p['os_storage']) ? dbesc($p['os_path']) : dbescbin($this->imageString())),
+ (intval($p['os_storage']) ? dbescbin($p['os_path']) : dbescbin($this->imageString())),
intval($p['os_storage']),
intval(strlen($this->imageString())),
intval($p['imgscale']),