changes: sizeof got a $, fix.

This commit is contained in:
Ralph Asendeteufrer
2012-10-18 12:09:50 -04:00
parent 17631d0082
commit 8873ca4a95

View File

@@ -560,7 +560,7 @@ class XmlForm_Field
$events[$attribute] = $value; $events[$attribute] = $value;
} }
} }
if ($sizeof( $events ) < 1) { if (sizeof( $events ) < 1) {
return '{}'; return '{}';
} }
return $json->encode( $events ); return $json->encode( $events );