[Fusionforge-commits] r12386 - trunk/src/www/docman

Franck VILLAUME nerville at fusionforge.org
Sat Feb 26 11:11:18 CET 2011


Author: nerville
Date: 2011-02-26 11:11:17 +0100 (Sat, 26 Feb 2011)
New Revision: 12386

Modified:
   trunk/src/www/docman/index.php
Log:
simplify use_tooltips init

Modified: trunk/src/www/docman/index.php
===================================================================
--- trunk/src/www/docman/index.php	2011-02-25 20:09:43 UTC (rev 12385)
+++ trunk/src/www/docman/index.php	2011-02-26 10:11:17 UTC (rev 12386)
@@ -102,9 +102,7 @@
 	} elseif ($u->isError()) {
 		exit_error($u->getErrorMessage(), 'my');
 	}
-	if (!$u->usesTooltips()) {
-		$use_tooltips = 0;
-	}
+	$use_tooltips = $u->usesTooltips();
 }
 
 $df = new DocumentFactory($g);




More information about the Fusionforge-commits mailing list