[pLog-svn] r3012 - plog/trunk/class/view/admin

oscar at devel.lifetype.net oscar at devel.lifetype.net
Fri Mar 3 20:49:00 GMT 2006


Author: oscar
Date: 2006-03-03 20:48:59 +0000 (Fri, 03 Mar 2006)
New Revision: 3012

Modified:
   plog/trunk/class/view/admin/adminarticlecommentslistview.class.php
Log:
fix for the fix regarding parser notices in this class


Modified: plog/trunk/class/view/admin/adminarticlecommentslistview.class.php
===================================================================
--- plog/trunk/class/view/admin/adminarticlecommentslistview.class.php	2006-03-03 20:48:28 UTC (rev 3011)
+++ plog/trunk/class/view/admin/adminarticlecommentslistview.class.php	2006-03-03 20:48:59 UTC (rev 3012)
@@ -41,7 +41,9 @@
 		function _setParameters( $params )
 		{
 			// fetch the article id
-			$this->_article = $params["article"];
+			$this->_article = null;
+			if( isset( $params["article"] ))
+				$this->_article = $params["article"];
 						
 			// load the status
 			if( isset( $params["showStatus"] ))
@@ -51,6 +53,7 @@
 				$this->_commentStatus = COMMENT_STATUS_ALL;	
 				
 			// laod the search terms
+			$this->_searchTerms = "";
 			if( isset( $params["searchTerms"] ))			
 				$this->_searchTerms = $params["searchTerms"];
 		}



More information about the pLog-svn mailing list