[geeklog-cvs] geeklog: Fixed topic selection for the Daily Digest (bug #000104...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Sun Nov 29 04:45:37 EST 2009


changeset 7493:05bccbc268ac
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/05bccbc268ac
user: Dirk Haun <dirk at haun-online.de>
date: Sun Nov 29 10:27:57 2009 +0100
description:
Fixed topic selection for the Daily Digest (bug #0001041, patch provided by Ben). This happened to only work if your gl_topics table was called 'topics' (without a prefix) ...

diffstat:

 public_html/docs/history     |  2 ++
 public_html/usersettings.php |  2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 11ffffd020e0 -r 05bccbc268ac public_html/docs/history
--- a/public_html/docs/history	Sun Nov 29 09:22:26 2009 +0100
+++ b/public_html/docs/history	Sun Nov 29 10:27:57 2009 +0100
@@ -3,6 +3,8 @@
 ??? ??, 20?? (1.6.2)
 ------------
 
+- Fixed topic selection for the Daily Digest (bug #0001041, patch provided by
+  Ben)
 - Changed the 'menu_elements' and 'notification' config options to dropdowns
   since there's only a fixed number of keywords that these two option recognize
   [Dirk]
diff -r 11ffffd020e0 -r 05bccbc268ac public_html/usersettings.php
--- a/public_html/usersettings.php	Sun Nov 29 09:22:26 2009 +0100
+++ b/public_html/usersettings.php	Sun Nov 29 10:27:57 2009 +0100
@@ -619,7 +619,7 @@
             $user_etids = '';
         }
         $tmp = COM_checkList($_TABLES['topics'], 'tid,topic', $permissions,
-                             $user_etids, 'topics');
+                             $user_etids, 'etids');
         $preferences->set_var('email_topic_checklist',
                 str_replace($_TABLES['topics'], 'etids', $tmp));
         $preferences->parse('digest_block', 'digest', true);



More information about the geeklog-cvs mailing list