Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
lib
unicaen
ldap
Commits
7de795c8
Commit
7de795c8
authored
Sep 30, 2015
by
Bertrand Gauthier
Browse files
Correction filtre "noIndividu" erroné.
parent
a5867544
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/UnicaenLdap/Filter/People.php
View file @
7de795c8
...
...
@@ -15,12 +15,12 @@ class People extends Filter
/**
* Génère un filtre de recherche par numéro Harpège
*
* @param string $numero Numéro Harpère d'un individu
* @param string
|integer
$numero Numéro Harpère d'un individu
* @return self
*/
public
static
function
noIndividu
(
$numero
)
{
return
self
::
equals
(
'supannEmpId'
,
$numero
);
return
self
::
equals
(
'supannEmpId'
,
sprintf
(
"%08s"
,
intval
(
$numero
)
))
;
}
/**
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment