Browse Source

newmail_media_enable is used instead of newmail_enable

tokul 19 years ago
parent
commit
0f224f0297
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/newmail/newmail_opt.php

+ 1 - 1
plugins/newmail/newmail_opt.php

@@ -111,7 +111,7 @@ if ($newmail_allowsound) {
             html_tag( 'td', _("Enable Media Playing").':', 'right', '', 'style="white-space: nowrap;"' ) .
                 html_tag( 'td', '', 'left' ) .
                     '<input type="checkbox" ';
-    if ($newmail_enable == 'on') {
+    if ($newmail_media_enable == 'on') {
         echo 'checked="checked" ';
     }
     echo 'name="media_enable" /></td></tr>' . "\n";