Commit 0fcfcce4 authored by bmortier's avatar bmortier
Browse files

Merge branch '6222-1-3-1-fixing-ldap-search-filter-code-style' into '1.3-fixes'

Resolve "[1.3.1] - Fixing LDAP Search filter code style"

See merge request fusiondirectory/fd!968
No related merge requests found
Showing with 3 additions and 3 deletions
+3 -3
...@@ -297,7 +297,7 @@ class LDAP ...@@ -297,7 +297,7 @@ class LDAP
* *
* \param array $attrs * \param array $attrs
*/ */
function ls ($srp, $filter = " (objectclass=*)", $basedn = "", $attrs = ["*"]) function ls ($srp, $filter = "(objectclass=*)", $basedn = "", $attrs = ["*"])
{ {
trigger_error('deprecated'); trigger_error('deprecated');
$this->cd($basedn); $this->cd($basedn);
...@@ -315,7 +315,7 @@ class LDAP ...@@ -315,7 +315,7 @@ class LDAP
* *
* \param string $filter Initialized at "(objectclass=*)" * \param string $filter Initialized at "(objectclass=*)"
*/ */
function cat ($srp, $dn, $attrs = ["*"], $filter = " (objectclass=*)") function cat ($srp, $dn, $attrs = ["*"], $filter = "(objectclass=*)")
{ {
if ($this->hascon) { if ($this->hascon) {
if ($this->reconnect) { if ($this->reconnect) {
...@@ -959,7 +959,7 @@ class LDAP ...@@ -959,7 +959,7 @@ class LDAP
* *
* \param $limit Limits the result. * \param $limit Limits the result.
*/ */
function generateLdif ($dn, $filter = " (objectClass=*)", $scope = 'sub', $limit = 0) function generateLdif ($dn, $filter = "(objectClass=*)", $scope = 'sub', $limit = 0)
{ {
// Ensure that limit is numeric if not skip here. // Ensure that limit is numeric if not skip here.
if (!empty($limit) && !is_numeric($limit)) { if (!empty($limit) && !is_numeric($limit)) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment