aboutsummaryrefslogtreecommitdiffstats
path: root/mod/wall_attach.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-01-31 23:56:46 -0800
committerfriendica <info@friendica.com>2013-01-31 23:56:46 -0800
commit5ca88ca10a11a76237aa34d1d93ba3e878567767 (patch)
tree01f0ed98ea409e8183469bf616c572cd9046cee7 /mod/wall_attach.php
parent6b3d36c36d9a1c2da3e338ef7802c77b5fd82167 (diff)
downloadvolse-hubzilla-5ca88ca10a11a76237aa34d1d93ba3e878567767.tar.gz
volse-hubzilla-5ca88ca10a11a76237aa34d1d93ba3e878567767.tar.bz2
volse-hubzilla-5ca88ca10a11a76237aa34d1d93ba3e878567767.zip
debugging of file attachment api - somewhat functional but the attachment info structure in the item table needs to be re-done.
Diffstat (limited to 'mod/wall_attach.php')
-rw-r--r--mod/wall_attach.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/wall_attach.php b/mod/wall_attach.php
index 5797531e8..6e9443f12 100644
--- a/mod/wall_attach.php
+++ b/mod/wall_attach.php
@@ -17,10 +17,12 @@ function wall_attach_post(&$a) {
$channel = $r[0];
}
+
else
killme();
$r = attach_store($channel,get_observer_hash());
+
if(! $r['success']) {
notice( $r['message'] . EOL);
killme();