From 57e8c4752aadf3f8fb1245db3a12342117142baa Mon Sep 17 00:00:00 2001 From: Chris Scribner Date: Thu, 1 Sep 2011 13:26:37 -0400 Subject: [PATCH] Allowing tools be added even if none exist --- mod/lti/settings.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mod/lti/settings.php b/mod/lti/settings.php index 169c5425896..92193ff2042 100644 --- a/mod/lti/settings.php +++ b/mod/lti/settings.php @@ -60,11 +60,11 @@ function blti_get_tool_table($tools, $id){ $action = get_string('action', 'lti'); $createdon = get_string('createdon', 'lti'); + if($id == 'lti_configured'){ + $html .= ''.get_string('addtype', 'lti').''; + } + if (!empty($tools)) { - if($id == 'lti_configured'){ - $html .= ''.get_string('addtype', 'lti').''; - } - $html .= <<