Changeset 32704
- Timestamp:
- Jan 6, 2022, 9:12:58 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/title/initadmin.php
r32649 r32704 63 63 $result = pwg_query($query); 64 64 $row = pwg_db_fetch_assoc($result); 65 $titleP=$row['title']; 65 if (isset($row['title'])){ 66 $titleP=$row['title']; 67 $template->assign( 68 array( 69 'titleICONTENT' => $titleP, 70 )); 71 } 66 72 if (isset($pwg_loaded_plugins['ExtendedDescription'])){ 67 73 $template->assign('useED',1); … … 69 75 $template->assign('useED',0); 70 76 } 71 $template->assign( 72 array( 73 'titleICONTENT' => $titleP, 74 )); 77 75 78 } 76 79 if (isset($_POST['insertitleP'])){ … … 119 122 $result = pwg_query($query); 120 123 $row = pwg_db_fetch_assoc($result); 121 $titleA=$row['title']; 124 if (isset($row['title'])){ 125 $titleA=$row['title']; 126 $template->assign( 127 array( 128 'titleCONTENT' => $titleA, 129 )); 130 } 122 131 if (isset($pwg_loaded_plugins['ExtendedDescription'])){ 123 132 $template->assign('useED',1); … … 125 134 $template->assign('useED',0); 126 135 } 127 $template->assign( 128 array( 129 'titleCONTENT' => $titleA, 130 )); 136 131 137 } 132 138 if (isset($_POST['insertitleA'])){
Note: See TracChangeset
for help on using the changeset viewer.