summaryrefslogtreecommitdiff
path: root/library/WT/Report/Base.php
diff options
context:
space:
mode:
Diffstat (limited to 'library/WT/Report/Base.php')
-rw-r--r--library/WT/Report/Base.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/WT/Report/Base.php b/library/WT/Report/Base.php
index bddbc15201..b083122dd9 100644
--- a/library/WT/Report/Base.php
+++ b/library/WT/Report/Base.php
@@ -2239,7 +2239,7 @@ function varSHandler($attrs) {
$var = $vars[$var]['id'];
} else {
$tfact = $fact;
- if (($fact == "EVEN" or $fact == "FACT") and $type != " ") {
+ if (($fact == "EVEN" || $fact == "FACT") && is_string($type) && $type != " ") {
// Use :
// n TYPE This text if string
$tfact = $type;