summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Geiger2011-10-06 17:10:56 +0200
committerBjörn Geiger2011-10-06 17:10:56 +0200
commitbacc6c5466f6a64a47dfe96644b7e09b3161151e (patch)
treef565bc5cff35d37244f13c75a5206cfe4255fa7f
parentLayout korrigiert (diff)
downloadpoolctrl-bacc6c5466f6a64a47dfe96644b7e09b3161151e.tar.gz
poolctrl-bacc6c5466f6a64a47dfe96644b7e09b3161151e.tar.xz
poolctrl-bacc6c5466f6a64a47dfe96644b7e09b3161151e.zip
minor
-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'>