[Fusionforge-commits] r15398 - branches/Branch_5_2/src/common/widget

Franck VILLAUME nerville at fusionforge.org
Fri Apr 27 11:20:47 CEST 2012


Author: nerville
Date: 2012-04-27 11:20:47 +0200 (Fri, 27 Apr 2012)
New Revision: 15398

Modified:
   branches/Branch_5_2/src/common/widget/Widget_MyProjectsLastDocuments.class.php
Log:
fix error length preference value

Modified: branches/Branch_5_2/src/common/widget/Widget_MyProjectsLastDocuments.class.php
===================================================================
--- branches/Branch_5_2/src/common/widget/Widget_MyProjectsLastDocuments.class.php	2012-04-27 08:56:20 UTC (rev 15397)
+++ branches/Branch_5_2/src/common/widget/Widget_MyProjectsLastDocuments.class.php	2012-04-27 09:20:47 UTC (rev 15398)
@@ -61,10 +61,10 @@
 			foreach ($groups as $g) {
 				$i++;
 
-				$vWhiteList = new Valid_WhiteList('hide_docmanproject', array(0, 1));
+				$vWhiteList = new Valid_WhiteList('hide_dmproj', array(0, 1));
 				$vWhiteList->required();
 				if($request->valid($vWhiteList)) {
-					$hide_docmanproject = $request->get('hide_docmanproject');
+					$hide_docmanproject = $request->get('hide_dmproj');
 				} else {
 					$hide_docmanproject = null;
 				}
@@ -75,7 +75,7 @@
 				$df->setSort('DESC');
 				$df->getDocuments();
 
-				list($hide_now,$count_diff,$hide_url) = my_hide_url('docmanproject', $g->getID(), $hide_item_id, count($df->Documents), $hide_docmanproject);
+				list($hide_now,$count_diff,$hide_url) = my_hide_url('dmproj', $g->getID(), $hide_item_id, count($df->Documents), $hide_docmanproject);
 				$html_hdr = ($i ? '<tr class="boxitem"><td colspan="4">' : '').
 					$hide_url.'<a href="/docman/?group_id='.$g->getID().'">'.
 					$g->getPublicName().'</a>    </td></tr>';




More information about the Fusionforge-commits mailing list