Преглед изворни кода

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++;