[pLog-svn] r3108 - plog/trunk/class/summary/action

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Fri Mar 24 03:54:14 GMT 2006


Author: jondaley
Date: 2006-03-24 03:54:12 +0000 (Fri, 24 Mar 2006)
New Revision: 3108

Modified:
   plog/trunk/class/summary/action/summaryaction.class.php
Log:
fixes php notice - but I don't really understand this - the reference saves memory?  Is there another way to do this?

Modified: plog/trunk/class/summary/action/summaryaction.class.php
===================================================================
--- plog/trunk/class/summary/action/summaryaction.class.php	2006-03-24 03:12:35 UTC (rev 3107)
+++ plog/trunk/class/summary/action/summaryaction.class.php	2006-03-24 03:54:12 UTC (rev 3108)
@@ -31,9 +31,9 @@
 		 */
 		function &_loadLocale()
 		{
-		    $requestLocale =& $this->_request->getValue( "lang" );
+		    $requestLocale = $this->_request->getValue( "lang" );
 		    $localeCode = "";
-			$serverVars =& HttpVars::getServer();
+			$serverVars = HttpVars::getServer();
 
 		    // check if there's something in the request... 
 		    // if not, check the session or at least try to 
@@ -45,7 +45,7 @@
 		        }
 		    }
 		    else {
-				$sessionLocale =& SessionManager::getSessionValue( "summaryLang" );
+				$sessionLocale = SessionManager::getSessionValue( "summaryLang" );
 			    if( $sessionLocale ) {		            
 		            $localeCode = $sessionLocale;
 		        }



More information about the pLog-svn mailing list