From 17e575e1ebcc7ea232530bd0c1dddef334122f96 Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 1 Jun 2014 22:15:21 -0700 Subject: don't show app editing options to non-authenticated folks --- include/widgets.php | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/widgets.php b/include/widgets.php index 1043acce0..c7a4da6a0 100644 --- a/include/widgets.php +++ b/include/widgets.php @@ -78,6 +78,7 @@ function widget_appselect($arr) { return replace_macros(get_markup_template('app_select.tpl'),array( '$title' => t('Apps'), '$system' => t('System'), + '$authed' => ((local_user()) ? true : false), '$personal' => t('Personal'), '$new' => t('Create Personal App'), '$edit' => t('Edit Personal App') -- cgit v1.2.3