newmail_media_enable is used instead of newmail_enable
authortokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 12 Feb 2006 09:15:52 +0000 (09:15 +0000)
committertokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 12 Feb 2006 09:15:52 +0000 (09:15 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@10725 7612ce4b-ef26-0410-bec9-ea0150e637f0

plugins/newmail/newmail_opt.php

index ca496075667608b9bfeaecdf50ce82fb6718571e..73cdec94b2a8f73f359e6490434f7e171b36ee95 100644 (file)
@@ -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" ';
             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";
         echo 'checked="checked" ';
     }
     echo 'name="media_enable" /></td></tr>' . "\n";