Revision: 6645
http://care2002.svn.sourceforge.net/care2002/?rev=6645&view=rev
Author: tim_schofield
Date: 2010-07-28 16:32:50 +0000 (Wed, 28 Jul 2010)
Log Message:
-----------
Return values of functions should not be assigned by reference
Modified Paths:
--------------
care2x/branches/gettext/modules/news/start_page.php
Modified: care2x/branches/gettext/modules/news/start_page.php
===================================================================
--- care2x/branches/gettext/modules/news/start_page.php 2010-07-28 16:18:53 UTC
(rev 6644)
+++ care2x/branches/gettext/modules/news/start_page.php 2010-07-28 16:32:50 UTC
(rev 6645)
@@ -34,7 +34,7 @@
$thisfile=basename(__FILE__);
require_once($root_path.'modules/news/model/class_news.php');
$newsobj=new News;
-$news=&$newsobj->getHeadlinesPreview($dept_nr,$news_num_stop);
+$news=$newsobj->getHeadlinesPreview($dept_nr,$news_num_stop);
# Set initial session environment for this module
@@ -118,4 +118,4 @@
$smarty->display('common/mainframe.tpl');
-?>
\ No newline at end of file
+?>
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Care2002-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/care2002-developers