From 57c82d830d04cfc930bcc62bd886b9a96fb57164 Mon Sep 17 00:00:00 2001 From: Aaron Parecki Date: Wed, 1 Aug 2018 18:35:13 -0700 Subject: if no syndication targets are found, hide the section add syndication reload button to the settings screen --- controllers/controllers.php | 1 + 1 file changed, 1 insertion(+) (limited to 'controllers/controllers.php') diff --git a/controllers/controllers.php b/controllers/controllers.php index cc74674..a5fb5be 100644 --- a/controllers/controllers.php +++ b/controllers/controllers.php @@ -483,6 +483,7 @@ $app->get('/settings', function() use($app) { render('settings', [ 'title' => 'Settings', 'user' => $user, + 'syndication_targets' => json_decode($user->syndication_targets, true), 'authorizing' => false ]); } -- cgit v1.2.3