aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-04-17 16:04:17 -0700
committerzotlabs <mike@macgirvin.com>2017-04-17 16:04:17 -0700
commit7a31c039fb1114e251a85c4888a305966945167b (patch)
treec1f1074e25d0f53bce797c5887f2c235b681694c /Zotlabs/Module
parent60d4b4c4f6ed9f41bdf2e8ec17e448f39f699096 (diff)
parent7cca2b7fb0fe716f669b854606fdd1329ccb77ad (diff)
downloadvolse-hubzilla-7a31c039fb1114e251a85c4888a305966945167b.tar.gz
volse-hubzilla-7a31c039fb1114e251a85c4888a305966945167b.tar.bz2
volse-hubzilla-7a31c039fb1114e251a85c4888a305966945167b.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r--Zotlabs/Module/Embedphotos.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zotlabs/Module/Embedphotos.php b/Zotlabs/Module/Embedphotos.php
index 48667795c..c92af27d6 100644
--- a/Zotlabs/Module/Embedphotos.php
+++ b/Zotlabs/Module/Embedphotos.php
@@ -92,6 +92,7 @@ class Embedphotos extends \Zotlabs\Web\Controller {
* It is a limitation of the photo table using a name for a photo album instead of a folder hash
*/
if($album) {
+ require_once('include/attach.php');
$x = q("select hash from attach where filename = '%s' and uid = %d limit 1",
dbesc($album),
intval($owner_uid)