Running Zen Cart v1.5.1 on PHP 5.38. I noticed that I had the following debug-log:
Code:
strip_tags() expects at most 2 parameters, 4 given in C:\xampp\htdocs\mystore\myadmin\coupon_admin.php on line 641
which translates to this code
Code:
              <tr>
                <td valign="top" class="main"><?php echo TEXT_MESSAGE; ?>&nbsp;&nbsp;</td>
                <td><?php echo zen_draw_textarea_field('message', 'soft', '60', '15', htmlspecialchars(strip_tags(($_POST['message_html']=='') ? TEXT_COUPON_ANNOUNCE : stripslashes($_POST['message_html']), ENT_COMPAT, CHARSET, TRUE))); ?></td>
              </tr>
It looks like the closing parentheses got misplaced when the htmlspecialchars call was updated; I believe the code should read
Code:
              <tr>
                <td valign="top" class="main"><?php echo TEXT_MESSAGE; ?>&nbsp;&nbsp;</td>
                <td><?php echo zen_draw_textarea_field('message', 'soft', '60', '15', htmlspecialchars(strip_tags(($_POST['message_html']=='') ? TEXT_COUPON_ANNOUNCE : stripslashes($_POST['message_html'])), ENT_COMPAT, CHARSET, TRUE)); ?></td>
              </tr>