[dev] Jonah headlines fix

John Morrissey jwm at horde.net
Sun Feb 16 15:37:58 PST 2003


It looks like the default view for newly-added channels should be set to
something like 'standard' instead of '1.' Patch attached.

john
-- 
John Morrissey          _o            /\         ----  __o
jwm at horde.net        _-< \_          /  \       ----  <  \,
www.horde.net/    __(_)/_(_)________/    \_______(_) /_(_)__
-------------- next part --------------
Index: channels.php
===================================================================
RCS file: /repository/jonah/channels.php,v
retrieving revision 1.20
diff -u -u -r1.20 channels.php
--- channels.php	21 Jan 2003 05:04:55 -0000	1.20
+++ channels.php	16 Feb 2003 20:16:00 -0000
@@ -65,7 +65,7 @@
             $subscribedChannels[$channelName] = array();
             $subscribedChannels[$channelName]['channel'] = $channelName;
             if ($channelView == '') {
-                $channelView = 1;
+                $channelView = 'standard';
             }
             $subscribedChannels[$channelName]['view'] = $channelView;
             $subscribedChannels[$channelName]['order'] = count($subscribedChannels) - 1;


More information about the dev mailing list