Ticket #485: patch2.txt

File patch2.txt, 906 bytes (added by JTK, 15 years ago)
Line 
1--- settings_channels.php.org   2005-10-17 15:46:49.000000000 +0200
2+++ settings_channels.php       2005-10-17 15:47:15.000000000 +0200
3@@ -33,6 +33,7 @@
4                                           .'hue='.escape($_POST['hue_'.$chanid])         .','
5                                   .'recpriority='.escape($_POST['recpriority_'.$chanid]) .','
6                                   .'commfree='.escape((isset($_POST['commfree_'.$chanid]) && $_POST['commfree_'.$chanid] == "on") ? 1 : 0) .','
7+                                  .'useonairguide='.escape((isset($_POST['useonairguide_'.$chanid]) && $_POST['useonairguide_'.$chanid] == "on") ? 1 : 0) .','
8                                   .'visible='.escape((isset($_POST['visible_'.$chanid]) && $_POST['visible_'.$chanid] == "on") ? 1 : 0);
9             // next, the fields that need to have a value, so we won't change them if they were emptied
10                 if ($_POST['channum_'.$chanid])