projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0b12fc
)
Fixes education degree edition.
author
Stéphane Jacob
<jacou@melix.net>
Mon, 2 Mar 2009 22:06:51 +0000
(23:06 +0100)
committer
Stéphane Jacob
<jacou@melix.net>
Wed, 4 Mar 2009 00:11:13 +0000
(
01:11
+0100)
include/education.func.inc.php
patch
|
blob
|
blame
|
history
diff --git
a/include/education.func.inc.php
b/include/education.func.inc.php
index
68ec9b7
..
8bc691c
100644
(file)
--- a/
include/education.func.inc.php
+++ b/
include/education.func.inc.php
@@
-64,7
+64,7
@@
function education_degree()
$res = XDB::iterRow("SELECT d.eduid, d.degreeid
FROM profile_education_enum AS e
INNER JOIN profile_education_degree AS d ON (e.id = d.eduid)
-
LEFT JOIN geoloc_countries AS gc ON (e.country = gc.
a2)
+
INNER JOIN geoloc_countries AS gc ON (e.country = gc.iso_3166_1_
a2)
ORDER BY gc.countryFR, e.name");
if ($edu_degree = $res->next()) {
$eduid = $edu_degree['0'];