mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
Silence reset if no records
This commit is contained in:
parent
7676f0576c
commit
7e03760d36
@ -433,7 +433,7 @@
|
||||
}
|
||||
//echo '('.$start.','.$limit.')';
|
||||
|
||||
reset($ldap_fields);
|
||||
@reset($ldap_fields);
|
||||
$j=0;
|
||||
for ($i=$start;$i<$limit;$i++) {
|
||||
if ($i<$this->total_records && $ldap_fields[$i]["uid"][0]) {
|
||||
@ -566,7 +566,7 @@
|
||||
list($stock_fields,$stock_fieldnames,$extra_fields) = $this->split_stock_and_extras($fields);
|
||||
if (gettype($stock_fieldnames) == "array") {
|
||||
$stock_fields['phpgwowner'] = $owner;
|
||||
if ($access) { $stock_fields['phpgwaccess'] = $access; }
|
||||
$stock_fields['phpgwaccess'] = $access;
|
||||
// Check each value, add our extra attributes if they are missing, and
|
||||
// otherwise fix the entry while we can.
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user