Minor - fixing PHP warning.

1.9.x
Julio Montoya 11 years ago
parent bf8e963fa7
commit 7dfa5ce7b5
  1. 2
      main/admin/settings.php

@ -443,7 +443,7 @@ if (!empty($_GET['category'])) {
case 'Plugins':
// Displaying the extensions: Plugins.
// This will be available to all the sites (access_urls).
$securityToken = Security::remove_XSS($_GET['sec_token']);
$securityToken = isset($_GET['sec_token']) ? Security::remove_XSS($_GET['sec_token']) : null;
if (isset($_POST['submit_dashboard_plugins']) && Security::check_token($securityToken)) {
Security::clear_token();
$affected_rows = DashboardManager::store_dashboard_plugins($_POST);

Loading…
Cancel
Save