Merge commit 'origin/master' into fusionax
[platal.git] / include / emails.combobox.inc.php
index d91cf9b..2de4a2e 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /***************************************************************************
- *  Copyright (C) 2003-2008 Polytechnique.org                              *
+ *  Copyright (C) 2003-2009 Polytechnique.org                              *
  *  http://opensource.polytechnique.org/                                   *
  *                                                                         *
  *  This program is free software; you can redistribute it and/or modify   *
@@ -88,7 +88,7 @@ function fill_email_combobox(PlPage& $page)
 
     $res = XDB::query(
             "SELECT  email
-               FROM  entreprises
+               FROM  profile_job
               WHERE  uid = {?}", $user->id());
     $res = $res->fetchAllAssoc();
     $pro = array();