summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAngie Byron2010-01-10 16:50:36 (GMT)
committerAngie Byron2010-01-10 16:50:36 (GMT)
commit00b27f694a2b34cda15cf66138e253888832a0a0 (patch)
tree4725dcf8e983f73ad8f7b329ce824a5da1c18472
parentd5bd559cc5d408c30f0badf6ffec86c564c83de7 (diff)
#680454 by Amitaibu: Initalize variable in _options_properties().
-rw-r--r--modules/field/modules/options/options.module2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/field/modules/options/options.module b/modules/field/modules/options/options.module
index d4c6c8f..38a49b0 100644
--- a/modules/field/modules/options/options.module
+++ b/modules/field/modules/options/options.module
@@ -155,6 +155,8 @@ function _options_properties($type, $multiple, $required) {
'optgroups' => FALSE,
);
+ $properties = array();
+
switch ($type) {
case 'select':
$properties = array(