Update of /var/cvs/contributions/CMSContainer_Portlets/portlets-newsletter/src/java/com/finalist/newsletter/publisher In directory james.mmbase.org:/tmp/cvs-serv27824/src/java/com/finalist/newsletter/publisher
Modified Files: Tag: b1_5 NewsletterPublisher.java Log Message: CMSC-1134) Newsletter project: add edit-icon to newsletter overview; remove Send when empty; add warning by removal,remove Send when empty See also: http://cvs.mmbase.org/viewcvs/contributions/CMSContainer_Portlets/portlets-newsletter/src/java/com/finalist/newsletter/publisher See also: http://www.mmbase.org/jira/browse/CMSC-1134 Index: NewsletterPublisher.java =================================================================== RCS file: /var/cvs/contributions/CMSContainer_Portlets/portlets-newsletter/src/java/com/finalist/newsletter/publisher/NewsletterPublisher.java,v retrieving revision 1.34 retrieving revision 1.34.2.1 diff -u -b -r1.34 -r1.34.2.1 --- NewsletterPublisher.java 23 Sep 2008 10:53:48 -0000 1.34 +++ NewsletterPublisher.java 3 Nov 2008 06:08:09 -0000 1.34.2.1 @@ -156,7 +156,7 @@ String content = " "; if ((subscription.getTerms() == null) || (subscription.getTerms().size() == 0) || !cache.contains(url)) { int articleCounts = NewsletterUtil.countArticlesByNewsletter(publication.getNewsletterId()); - if (articleCounts == 0&&publication.getNewsletter().getSendempty()) { + if (articleCounts == 0) { content = publication.getNewsletter().getTxtempty(); } else { _______________________________________________ Cvs mailing list Cvs@lists.mmbase.org http://lists.mmbase.org/mailman/listinfo/cvs