use item from DB for return value

This commit is contained in:
zotlabs 2016-11-16 14:13:10 -08:00
parent 7a17ee9f8c
commit 91c803ff65
2 changed files with 1 additions and 2 deletions

View File

@ -1649,7 +1649,6 @@ function profile_tabs($a, $is_owner = false, $nickname = null){
$uid = ((App::$profile['profile_uid']) ? App::$profile['profile_uid'] : local_channel()); $uid = ((App::$profile['profile_uid']) ? App::$profile['profile_uid'] : local_channel());
$account_id = ((App::$profile['profile_uid']) ? App::$profile['channel_account_id'] : App::$channel['channel_account_id']); $account_id = ((App::$profile['profile_uid']) ? App::$profile['channel_account_id'] : App::$channel['channel_account_id']);
if($uid == local_channel()) { if($uid == local_channel()) {
$cal_link = ''; $cal_link = '';
} }

View File

@ -128,7 +128,7 @@ function wiki_create_wiki($channel, $observer_hash, $wiki, $acl) {
if ($item_id) { if ($item_id) {
\Zotlabs\Daemon\Master::Summon(array('Notifier', 'activity', $item_id)); \Zotlabs\Daemon\Master::Summon(array('Notifier', 'activity', $item_id));
return array('item' => $arr, 'success' => true); return array('item' => $post['item'], 'success' => true);
} else { } else {
return array('item' => null, 'success' => false); return array('item' => null, 'success' => false);
} }