[Fusionforge-commits] r12856 - branches/Branch_5_1/src/common/mail

Alain Peyrat aljeux at fusionforge.org
Sat Mar 19 17:49:27 CET 2011


Author: aljeux
Date: 2011-03-19 17:49:26 +0100 (Sat, 19 Mar 2011)
New Revision: 12856

Modified:
   branches/Branch_5_1/src/common/mail/MailingListFactory.class.php
Log:
Fix PHP warning.

Modified: branches/Branch_5_1/src/common/mail/MailingListFactory.class.php
===================================================================
--- branches/Branch_5_1/src/common/mail/MailingListFactory.class.php	2011-03-19 16:49:18 UTC (rev 12855)
+++ branches/Branch_5_1/src/common/mail/MailingListFactory.class.php	2011-03-19 16:49:26 UTC (rev 12856)
@@ -80,7 +80,7 @@
 	 * @param boolean $admin if we are in admin mode (we want to see deleted lists)
 	 *	@return	array	The array of MailingList objects.
 	 */
-	function &getMailingLists() {
+	function getMailingLists() {
 		if (isset($this->mailingLists) && is_array($this->mailingLists)) {
 			return $this->mailingLists;
 		}
@@ -93,7 +93,6 @@
 		}
 
 		$result = db_query_params ('SELECT * FROM mail_group_list WHERE group_id=$1 AND is_public = ANY ($2) ORDER BY list_name',
-
 					   array ($this->Group->getID(),
 						  db_int_array_to_any_clause (array (MAIL__MAILING_LIST_IS_PRIVATE,
 										     MAIL__MAILING_LIST_IS_PUBLIC)))) ;




More information about the Fusionforge-commits mailing list