Skip to content

Commit

Permalink
Fixing undefined array key errors on addcustompages.php page. (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
deepend-tildeclub authored Jan 30, 2024
1 parent be5de5f commit 2c1702f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/members/include/admin/addcustompages.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
<table class='formTable'>
<tr>
<td class='formLabel'>Page Name:</td>
<td class='main'><input type='text' name='pagename' class='textBox' value='".$_POST['pagename']."' style='width: 250px'></td>
<td class='main'><input type='text' name='pagename' class='textBox' value='".($_POST['pagename'] ?? '')."' style='width: 250px'></td>
</tr>
<tr>
<td colspan='2' class='main'><br>
Expand All @@ -103,7 +103,7 @@
</tr>
<tr>
<td colspan='2' style='padding-left: 10px' align='center'>
<textarea id='tinymceTextArea' name='wysiwygHTML' style='width: 80%' rows='15'>".$_POST['wysiwygHTML']."</textarea>
<textarea id='tinymceTextArea' name='wysiwygHTML' style='width: 80%' rows='15'>".($_POST['wysiwygHTML'] ?? '')."</textarea>
</td>
</tr>
<tr>
Expand Down

0 comments on commit 2c1702f

Please sign in to comment.