Browse Source

Cosmetic on the portal

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@1473 a333f486-631f-4898-b8df-5754b55c2be0
romainq 14 years ago
parent
commit
41766b3165
1 changed files with 5 additions and 1 deletions
  1. 5 1
      application/portalwebpage.class.inc.php

+ 5 - 1
application/portalwebpage.class.inc.php

@@ -34,6 +34,10 @@ define('BUTTON_FINISH', 8);
 
 define('PARAM_ARROW_SEP', '_x_');
 
+class TransactionException extends Exception
+{
+}
+
 /**
  * Web page with some associated CSS and scripts (jquery) for a fancier display
  * of the Portal web page
@@ -599,7 +603,7 @@ EOF
 		$sTransactionId = utils::ReadPostedParam('transaction_id', '');
 		if (!utils::IsTransactionValid($sTransactionId))
 		{
-			throw new Exception(Dict::S('UI:Error:ObjectAlreadyUpdated'));
+			throw new TransactionException();
 		}
 	
 		$sClass = get_class($oObj);