Browse Source

Supress warning related to stylesheet additions

spaghetti 7 years ago
parent
commit
2b5cd25e1f
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      sections/user/edit.php

+ 1
- 1
sections/user/edit.php View File

@@ -159,7 +159,7 @@ echo $Val->GenerateJS('userform');
159 159
           </div>
160 160
         </td>
161 161
       </tr>
162
-      <tr id="style_additions_tr" class="<?=$Stylesheets[$LoggedUser['StyleID']]['Additions'][0]?'':'hidden'?>">
162
+      <tr id="style_additions_tr" class="<?=($Stylesheets[$LoggedUser['StyleID']]['Additions'][0] ?? false)?'':'hidden'?>">
163 163
         <td class="label tooltip" title="Select changes that you want made to your chosen stylesheet"><strong>Stylesheet additions</strong></td>
164 164
         <td> <?
165 165
           foreach($Stylesheets as $Style) {

Loading…
Cancel
Save