X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=sidebyside;f=include%2Ffonction.emploi.inc.php;h=c0ac2857058935f1032c3cd0dc69f92c8c747423;hb=8cc026af3183534646611a4e9c740aa07bab672d;hp=1071b6485d9e74d6cc086450a803dfb9f989f911;hpb=50a40a33a496131e817df875607ea5542d096a64;p=platal.git
diff --git a/include/fonction.emploi.inc.php b/include/fonction.emploi.inc.php
index 1071b64..c0ac285 100644
--- a/include/fonction.emploi.inc.php
+++ b/include/fonction.emploi.inc.php
@@ -20,10 +20,9 @@
***************************************************************************/
function select_fonction($fonction){
- global $globals;
$html = "\n";
- $res = $globals->xdb->iterRow("SELECT id, fonction_fr, FIND_IN_SET('titre', flags) from fonctions_def ORDER BY id");
+ $res = XDB::iterRow("SELECT id, fonction_fr, FIND_IN_SET('titre', flags) from fonctions_def ORDER BY id");
while(list($fid, $flabel, $ftitre) = $res->next()){
if($ftitre)
$html.= "\n";