Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Antoine
ae2
Commits
813c7a14
Commit
813c7a14
authored
Jul 04, 2013
by
Bate
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resoud #21 (Typo)
parent
1d8b597c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
include/entities/utilisateur.inc.php
include/entities/utilisateur.inc.php
+9
-7
No files found.
include/entities/utilisateur.inc.php
View file @
813c7a14
...
...
@@ -889,13 +889,14 @@ class utilisateur extends stdentity
if
(
$req
->
lines
==
0
)
new
insert
(
$this
->
dbrw
,
"utl_etu"
,
array
(
'citation'
=>
$this
->
citation
,
array
(
'id_utilisateur'
=>
$this
->
id
,
'citation'
=>
$this
->
citation
,
'adresse_parents'
=>
$this
->
adresse_parents
,
'id_ville'
=>
$this
->
id_ville_parents
,
'id_pays'
=>
$this
->
id_pays_parents
,
'tel_parents'
=>
$this
->
tel_parents
,
'nom_ecole_etudiant'
=>
$this
->
nom_ecole_etudiant
),
array
(
'id_utilisateur'
=>
$this
->
id
));
'nom_ecole_etudiant'
=>
$this
->
nom_ecole_etudiant
));
else
new
update
(
$this
->
dbrw
,
"utl_etu"
,
...
...
@@ -911,19 +912,20 @@ class utilisateur extends stdentity
if
(
$this
->
utbm
)
{
$req
=
new
requete
(
$this
->
db
,
"SELECT id_utilisateur FROM utl_etu WHERE id_utilisateur='"
.
mysql_real_escape_string
(
$this
->
id
)
.
"'"
);
$req
=
new
requete
(
$this
->
db
,
"SELECT id_utilisateur FROM utl_etu
_utbm
WHERE id_utilisateur='"
.
mysql_real_escape_string
(
$this
->
id
)
.
"'"
);
if
(
$req
->
lines
==
0
)
new
insert
(
$this
->
dbrw
,
"utl_etu_utbm"
,
array
(
'semestre_utbm'
=>
$this
->
semestre
,
array
(
'id_utilisateur'
=>
$this
->
id
,
'semestre_utbm'
=>
$this
->
semestre
,
'role_utbm'
=>
$this
->
role
,
'departement_utbm'
=>
$this
->
departement
,
'filiere_utbm'
=>
$this
->
filiere
,
'surnom_utbm'
=>
(
!
empty
(
$this
->
surnom
)
?
$this
->
surnom
:
null
),
'promo_utbm'
=>
$this
->
promo_utbm
,
'date_diplome_utbm'
=>
(
$this
->
date_diplome_utbm
!=
NULL
)
?
date
(
"Y-m-d H:i:s"
,
$this
->
date_diplome_utbm
)
:
NULL
),
array
(
'id_utilisateur'
=>
$this
->
id
));
'date_diplome_utbm'
=>
(
$this
->
date_diplome_utbm
!=
NULL
)
?
date
(
"Y-m-d H:i:s"
,
$this
->
date_diplome_utbm
)
:
NULL
));
else
new
update
(
$this
->
dbrw
,
"utl_etu_utbm"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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