From 5ca88ca10a11a76237aa34d1d93ba3e878567767 Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 31 Jan 2013 23:56:46 -0800 Subject: debugging of file attachment api - somewhat functional but the attachment info structure in the item table needs to be re-done. --- mod/wall_attach.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mod/wall_attach.php') 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(); -- cgit v1.2.3