*** empty log message ***

This commit is contained in:
katagia 2003-06-01 11:39:54 +00:00
parent 79771dfd4d
commit 84d812e73d
3 changed files with 3 additions and 4 deletions

View File

@ -439,7 +439,8 @@ function getgid($groupname) { // Will return the the gid to an existing Groupnam
$result = ldap_search($_SESSION['ldap']->server(), $_SESSION['config']->get_GroupSuffix(), 'cn=' . $groupname, array('gidNumber'), 0);
$entry = ldap_first_entry($_SESSION['ldap']->server(), $result);
$attr = ldap_get_attributes($_SESSION['ldap']->server(), $entry);
return $attr['gidNumber'][0];
if ($attr['gidNumber'][0]) return $attr['gidNumber'][0];
else return -1;
}

View File

@ -258,8 +258,6 @@ echo '</title>
echo '<table rules="all" class="account" width="100%">
<tr><td></td></tr>';
print_r($_SESSION['account']);
if (!$select_local) $select_local='general';
if ($_POST['createagain']) {