[geeklog-cvs] geeklog: No need to even look at $ETIDS when the Daily Digest is...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Sun Apr 19 03:31:56 EDT 2009


details:   http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/0fa486c53e02
changeset: 6964:0fa486c53e02
user:      Dirk Haun <dirk at haun-online.de>
date:      Sun Apr 19 00:05:27 2009 +0200
description:
No need to even look at $ETIDS when the Daily Digest is disabled

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
public_html/usersettings.php |    2 +-

diffs (12 lines):

diff -r 41c7d6494b98 -r 0fa486c53e02 public_html/usersettings.php
--- a/public_html/usersettings.php	Sat Apr 18 23:37:42 2009 +0200
+++ b/public_html/usersettings.php	Sun Apr 19 00:05:27 2009 +0200
@@ -1416,7 +1416,7 @@
     }
 
     $etids = '';
-    if (sizeof ($ETIDS) > 0) {
+    if (($_CONF['emailstories'] == 1) && (sizeof($ETIDS) > 0)) {
         // the array_intersect mitigates the need to scrub the ETIDS input
         $etids = addslashes (implode (' ', array_intersect ($AETIDS, $ETIDS)));
     }



More information about the geeklog-cvs mailing list