Author: duncan
Date: Tue Mar 11 17:45:37 2008
New Revision: 10506

Log:
[ 1912140 ] StackTrace when adding new fav from www
First attempt to fix this problem


Modified:
   branches/rel-1/freevo/src/www/htdocs/edit_favorite.rpy

Modified: branches/rel-1/freevo/src/www/htdocs/edit_favorite.rpy
==============================================================================
--- branches/rel-1/freevo/src/www/htdocs/edit_favorite.rpy      (original)
+++ branches/rel-1/freevo/src/www/htdocs/edit_favorite.rpy      Tue Mar 11 
17:45:37 2008
@@ -146,11 +146,12 @@
         cell += '  <option value=ANY>'+_('ANY CHANNEL')+'</option>\n'
 
         i=1
+        chan_index = 0
         for ch in guide.chan_list:
             if ch.displayname == fav.channel:
                 chan_index = i
             cell += '  <option value="%s">%s</option>\n' % (ch.displayname, 
ch.displayname)
-            i = i +1
+            i = i + 1
 
         cell += '</select>\n'
         fv.tableCell(cell, 'class="'+status+'" colspan="1"')

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to