diff options
-rw-r--r-- | it_text.class | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/it_text.class b/it_text.class index 97bf352..b4a5a19 100644 --- a/it_text.class +++ b/it_text.class @@ -226,7 +226,7 @@ function transmogrify($text, $values = null, $label = null) foreach (explode(".", $part) as $key) { $value = is_object($value) ? $value->$key : $value[$key]; - if ($value === null && $values) # do not test in $GLOBALS mode + if ($value === null && $values && $label) # do not test in $GLOBALS mode it::error(array('title' => "No value given for text variable {" . $key ."} in label $label", 'skipfiles' => "text|auto_prepend")); } |