Projects
Kolab:Winterfell
kolab-webadmin
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 4
View file
kolab-webadmin.spec
Changed
@@ -35,7 +35,7 @@ Name: kolab-webadmin Version: 3.2.11 -Release: 0.20160430.git%{?dist} +Release: 0.20160505.git%{?dist} Summary: Kolab Groupware Server Web Administration Interface License: AGPLv3+ Group: Productivity/Office/Organizers
View file
debian.changelog
Changed
@@ -1,4 +1,4 @@ -kolab-webadmin (3.2.11~dev20160430-0~kolab1) unstable; urgency=low +kolab-webadmin (3.2.11~dev20160505-0~kolab1) unstable; urgency=low * New upstream release 3.2.7
View file
kolab-webadmin-3.2.11.tar.gz/lib/kolab_api_service.php
Changed
@@ -118,7 +118,7 @@ $type_score = null; $type_id = null; - Log::trace("kolab_api_service::object_type_id objectClasses: " . implode(", ", $object_class)); + Log::trace("kolab_api_service::object_type_id objectclasses: " . implode(", ", $object_class)); foreach ($object_types as $idx => $elem) { $ref_class = $elem['attributes']['fields']['objectclass']; @@ -161,6 +161,11 @@ continue; } + if (!array_key_exists($attr, $attributes)) { + // There's no point in comparing NULL with anything. + continue; + } + $v = $attributes[$attr]; if (is_array($value)) { @@ -173,7 +178,7 @@ } $value = implode('', $value); - } else { + } else if (is_string($value)) { $value = $this->conf->expand($_value, $custom = Array('base_dn' => $this->base_dn())); } @@ -181,7 +186,11 @@ $v = implode('', $v); } - $elem_values_score += intval($v == $value); + if ($v == $value) { + $elem_values_score += 1; + } else { + $elem_values_score -= 1; + } } // Position in tree score
View file
kolab-webadmin.dsc
Changed
@@ -2,7 +2,7 @@ Source: kolab-webadmin Binary: kolab-webadmin Architecture: all -Version: 3.2.11~dev20160430-0~kolab1 +Version: 3.2.11~dev20160505-0~kolab1 Maintainer: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Uploaders: Paul Klos <kolab@klos2day.nl> Homepage: http://www.kolab.org/
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.