[Fusionforge-commits] r6911 - in branches/Branch_4_7/gforge: common/tracker www/themes/gforge

Roland Mas lolando at libremir.placard.fr.eu.org
Wed Feb 4 13:53:04 CET 2009


Author: lolando
Date: 2009-02-04 13:53:04 +0100 (Wed, 04 Feb 2009)
New Revision: 6911

Modified:
   branches/Branch_4_7/gforge/common/tracker/ArtifactFactory.class.php
   branches/Branch_4_7/gforge/www/themes/gforge/Theme.class.php
Log:
More PHP notice fixes

Modified: branches/Branch_4_7/gforge/common/tracker/ArtifactFactory.class.php
===================================================================
--- branches/Branch_4_7/gforge/common/tracker/ArtifactFactory.class.php	2009-02-04 09:08:40 UTC (rev 6910)
+++ branches/Branch_4_7/gforge/common/tracker/ArtifactFactory.class.php	2009-02-04 12:53:04 UTC (rev 6911)
@@ -225,7 +225,7 @@
 		if (is_null($max_rows) || $max_rows < 0) {
 			$max_rows=50;
 		}
-		if ($default_query) {
+		if (isset ($default_query)) {
 			$this->max_rows=0;
 		} else {
 			$this->max_rows=$max_rows;

Modified: branches/Branch_4_7/gforge/www/themes/gforge/Theme.class.php
===================================================================
--- branches/Branch_4_7/gforge/www/themes/gforge/Theme.class.php	2009-02-04 09:08:40 UTC (rev 6910)
+++ branches/Branch_4_7/gforge/www/themes/gforge/Theme.class.php	2009-02-04 12:53:04 UTC (rev 6911)
@@ -394,6 +394,7 @@
 	$TABS_DIRS = array_merge($TABS_DIRS, $PLUGIN_TABS_DIRS);
 
 	$user_is_super=false;
+	$selected = 0 ;
 	if (session_loggedin()) {
 		$projectmaster =& group_get_object(GROUP_IS_MASTER);
 		$projectstats =& group_get_object(GROUP_IS_STATS);




More information about the Fusionforge-commits mailing list