Browse Source

Remove E_NOTICE - refs BT#12841

Angel Fernando Quiroz Campos 7 years ago
parent
commit
7324e836bc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main/admin/configure_homepage.php

+ 1 - 1
main/admin/configure_homepage.php

@@ -387,7 +387,7 @@ if (!empty($action)) {
                 $add_in_tab = intval($_POST['add_in_tab']);
                 $link_html = trim(stripslashes($_POST['link_html']));
                 $filename = trim(stripslashes($_POST['filename']));
-                $target_blank = $_POST['target_blank'] ? true : false;
+                $target_blank = isset($_POST['target_blank']);
 
                 if ($link_url == 'http://' || $link_url == 'https://') {
                     $link_url = '';