diff --git a/gulliver/system/class.xmlform.php b/gulliver/system/class.xmlform.php index 327e4f764..38185148c 100755 --- a/gulliver/system/class.xmlform.php +++ b/gulliver/system/class.xmlform.php @@ -560,7 +560,7 @@ class XmlForm_Field $events[$attribute] = $value; } } - if ($sizeof( $events ) < 1) { + if (sizeof( $events ) < 1) { return '{}'; } return $json->encode( $events );