소스 검색

Remove E_NOTICE - refs BT#12841

Angel Fernando Quiroz Campos 7 년 전
부모
커밋
7324e836bc
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 = '';