diff options
Diffstat (limited to 'modules-available/locationinfo/page.inc.php')
-rw-r--r-- | modules-available/locationinfo/page.inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules-available/locationinfo/page.inc.php b/modules-available/locationinfo/page.inc.php index 0f051f07..1c45ad65 100644 --- a/modules-available/locationinfo/page.inc.php +++ b/modules-available/locationinfo/page.inc.php @@ -538,9 +538,9 @@ class Page_LocationInfo extends Page } } - if (is_array($value[0])) { + if (is_array($value)) { $selection = array(); - foreach ($value[0] as $opt) { + foreach ($value as $opt) { $option['option'] = $opt; if ($opt == $credential['value']) { $option['active'] = true; |