aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Storage/Directory.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-06-03 11:04:16 +0200
committerMario Vavti <mario@mariovavti.com>2016-06-03 11:04:16 +0200
commit25aded6b9b137a32d9f9ea68baf3e2102fb293e7 (patch)
treee448899f37eb48e6ee2a5ffdb4fd55bf5e9a779b /Zotlabs/Storage/Directory.php
parentb4eb9f2a1142cf121dd41ea0ad81475d38343308 (diff)
parent8d6c2b5d4a799d87df1cd9f6f258890045ce6c62 (diff)
downloadvolse-hubzilla-25aded6b9b137a32d9f9ea68baf3e2102fb293e7.tar.gz
volse-hubzilla-25aded6b9b137a32d9f9ea68baf3e2102fb293e7.tar.bz2
volse-hubzilla-25aded6b9b137a32d9f9ea68baf3e2102fb293e7.zip
Merge branch 'sabre32' of https://github.com/redmatrix/hubzilla into sabre32
Diffstat (limited to 'Zotlabs/Storage/Directory.php')
-rw-r--r--Zotlabs/Storage/Directory.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Storage/Directory.php b/Zotlabs/Storage/Directory.php
index 84368d07e..06ae90a5f 100644
--- a/Zotlabs/Storage/Directory.php
+++ b/Zotlabs/Storage/Directory.php
@@ -246,7 +246,7 @@ class Directory extends DAV\Node implements DAV\ICollection, DAV\IQuota {
$deny_gid = $c[0]['channel_deny_gid'];
}
- $r = q("INSERT INTO attach ( aid, uid, hash, creator, filename, folder, os_storage, filetype, filesize, revision, is_photo, data, created, edited, allow_cid, allow_gid, deny_cid, deny_gid )
+ $r = q("INSERT INTO attach ( aid, uid, hash, creator, filename, folder, os_storage, filetype, filesize, revision, is_photo, content, created, edited, allow_cid, allow_gid, deny_cid, deny_gid )
VALUES ( %d, %d, '%s', '%s', '%s', '%s', '%s', '%s', %d, %d, %d, '%s', '%s', '%s', '%s', '%s', '%s', '%s' ) ",
intval($c[0]['channel_account_id']),
intval($c[0]['channel_id']),