projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removes useless getters from Phone class.
[platal.git]
/
modules
/
profile
/
mentor.inc.php
diff --git
a/modules/profile/mentor.inc.php
b/modules/profile/mentor.inc.php
index
14af014
..
3a842c6
100644
(file)
--- a/
modules/profile/mentor.inc.php
+++ b/
modules/profile/mentor.inc.php
@@
-1,6
+1,6
@@
<?php
/***************************************************************************
<?php
/***************************************************************************
- * Copyright (C) 2003-201
0
Polytechnique.org *
+ * Copyright (C) 2003-201
1
Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-97,7
+97,7
@@
class ProfileSettingCountry implements ProfileSetting
$success = true;
if (is_null($value)) {
$value = array();
$success = true;
if (is_null($value)) {
$value = array();
- $res = XDB::iterRow("SELECT m.country, gc.country
FR
+ $res = XDB::iterRow("SELECT m.country, gc.country
FROM profile_mentor_country AS m
INNER JOIN geoloc_countries AS gc ON (m.country = gc.iso_3166_1_a2)
WHERE m.pid = {?}",
FROM profile_mentor_country AS m
INNER JOIN geoloc_countries AS gc ON (m.country = gc.iso_3166_1_a2)
WHERE m.pid = {?}",
@@
-175,9
+175,9
@@
class ProfilePageMentor extends ProfilePage
public function _prepare(PlPage &$page, $id)
{
public function _prepare(PlPage &$page, $id)
{
- $page->assign('countryList', XDB::iterator("SELECT iso_3166_1_a2, country
FR
+ $page->assign('countryList', XDB::iterator("SELECT iso_3166_1_a2, country
FROM geoloc_countries
FROM geoloc_countries
- ORDER BY country
FR
"));
+ ORDER BY country"));
$page->assign('hrpid', $this->profile->hrpid);
}
}
$page->assign('hrpid', $this->profile->hrpid);
}
}