Explorar o código

newmail_media_enable is used instead of newmail_enable

tokul %!s(int64=19) %!d(string=hai) anos
pai
achega
0f224f0297
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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";