[evolvis-commits] r18377: small-fixes pending merges:↵ Thorsten Glaser 2012-04-25 silently(!) skip lists we have no access rights for

mirabilos at evolvis.org mirabilos at evolvis.org
Wed Apr 25 14:47:45 CEST 2012


Author: mirabilos
Date: 2012-04-25 14:47:45 +0200 (Wed, 25 Apr 2012)
New Revision: 18377

Modified:
   trunk/gforge_base/evolvisforge-5.1/src/www/mail/index.php
Log:
small-fixes pending merges:
  Thorsten Glaser 2012-04-25 silently(!) skip lists we have no access rights for

Modified: trunk/gforge_base/evolvisforge-5.1/src/www/mail/index.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/www/mail/index.php	2012-04-24 16:04:43 UTC (rev 18376)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/mail/index.php	2012-04-25 12:47:45 UTC (rev 18377)
@@ -81,6 +81,11 @@
 
 	for ($j = 0; $j < $mlCount; $j++) {
 		$currentList =& $mlArray[$j];
+		if ($currentList->isError() &&
+		    $currentList->isPermissionDeniedError()) {
+			//XXX boxGetAltRowStyle unniceness
+			continue;
+		}
 		echo '<tr '. $HTML->boxGetAltRowStyle($j) .'>';
 		if ($currentList->isError()) {
 			echo '<td colspan="3">'.$currentList->getErrorMessage().'</td>';



More information about the evolvis-commits mailing list