소스 검색

Added the error message when a menu could not be computed (error in template)

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@548 a333f486-631f-4898-b8df-5754b55c2be0
romainq 15 년 전
부모
커밋
b1efbeaaa7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      application/template.class.inc.php

+ 1 - 1
application/template.class.inc.php

@@ -69,7 +69,7 @@ class DisplayTemplate
 				}
 				catch(Exception $e)
 				{
-					$oPage->p('Error in template (please contact your administrator)<!--'.$sOuterTag.'-->');
+					$oPage->p('Error in template (please contact your administrator)<!--'.$e->getMessage().'--><!--'.$sOuterTag.'-->');
 				}
 				
 				self::$iBlockCount++;