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