summaryrefslogtreecommitdiff
path: root/modules/gallery_unit_test/views/kohana/error.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gallery_unit_test/views/kohana/error.php')
-rw-r--r--modules/gallery_unit_test/views/kohana/error.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/gallery_unit_test/views/kohana/error.php b/modules/gallery_unit_test/views/kohana/error.php
index c0ae7173..34053317 100644
--- a/modules/gallery_unit_test/views/kohana/error.php
+++ b/modules/gallery_unit_test/views/kohana/error.php
@@ -1,7 +1,9 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
<?
echo $error, "\n\n";
-echo wordwrap($description, 80), "\n\n";
+if (!empty($description)) {
+ echo wordwrap($description, 80), "\n\n";
+}
if (!empty($line) && !empty($file)) {
echo $file, "[", $line, "]:\n";
}