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
           </div>
159
           </div>
160
         </td>
160
         </td>
161
       </tr>
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
         <td class="label tooltip" title="Select changes that you want made to your chosen stylesheet"><strong>Stylesheet additions</strong></td>
163
         <td class="label tooltip" title="Select changes that you want made to your chosen stylesheet"><strong>Stylesheet additions</strong></td>
164
         <td> <?
164
         <td> <?
165
           foreach($Stylesheets as $Style) {
165
           foreach($Stylesheets as $Style) {

Loading…
Cancel
Save