summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xapplication/views/scripts/person/index.phtml6
1 files changed, 4 insertions, 2 deletions
diff --git a/application/views/scripts/person/index.phtml b/application/views/scripts/person/index.phtml
index 01d35de..aa89e37 100755
--- a/application/views/scripts/person/index.phtml
+++ b/application/views/scripts/person/index.phtml
@@ -44,8 +44,10 @@ if(count($this->groups)==0)
<?php foreach ($this->groups as $group): ?>
<?php
$class='';
- if($group['membershipID'] == $this->userIDsNamespace['membershipID'])
- $class= 'highlight checked';
+ if(isset($this->userIDsNamespace['membershipID'])) {
+ if($group['membershipID'] == $this->userIDsNamespace['membershipID'])
+ $class= 'highlight checked';
+ }
?>
<div class='element<?php echo " $class";?>'>
<div class='content'>