[Fusionforge-commits] r17767 - trunk/src/www/widgets

Marc-Etienne VARGENAU vargenau at fusionforge.org
Wed Aug 21 18:11:40 CEST 2013


Author: vargenau
Date: 2013-08-21 18:11:40 +0200 (Wed, 21 Aug 2013)
New Revision: 17767

Modified:
   trunk/src/www/widgets/widgets.php
Log:
Do not use void function result

Modified: trunk/src/www/widgets/widgets.php
===================================================================
--- trunk/src/www/widgets/widgets.php	2013-08-21 16:08:56 UTC (rev 17766)
+++ trunk/src/www/widgets/widgets.php	2013-08-21 16:11:40 UTC (rev 17767)
@@ -45,7 +45,7 @@
 
 		$vOwner = new Valid_Widget_Owner('owner');
 		$vOwner->required();
-        if ($request->valid($vOwner)) {
+		if ($request->valid($vOwner)) {
 		$owner = $request->get('owner');
 		$owner_id   = (int)substr($owner, 1);
 		$owner_type = substr($owner, 0, 1);
@@ -54,7 +54,7 @@
 				$owner_id = user_getid();
 				$userm=UserManager::instance();
 				$current=$userm->getCurrentUser();
-		    		echo site_user_header(array('title'=>sprintf(_('Personal Page For %s'),user_getname())));
+		    	site_user_header(array('title'=>sprintf(_('Personal Page For %s'),user_getname())));
 				$lm->displayAvailableWidgets(user_getid(), WidgetLayoutManager::OWNER_TYPE_USER, $layout_id);
 				site_footer(array());
 				break;




More information about the Fusionforge-commits mailing list