X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=sidebyside;f=classes%2Fdirenum.php;h=e0b485df2e65c5f06094d8c9e4297a4e914ed879;hb=d989355f50a69412c756e6729c83cba913683e40;hp=90fb331962f346cd7190ccb995bbe3b2816214e7;hpb=ffd70398b3b58cf72826aeffc5b294f48b14b47f;p=platal.git diff --git a/classes/direnum.php b/classes/direnum.php index 90fb331..e0b485d 100644 --- a/classes/direnum.php +++ b/classes/direnum.php @@ -617,12 +617,12 @@ class DE_JobDescription extends DirEnumeration // {{{ class DE_Networking class DE_Networking extends DirEnumeration { - protected $idfield = 'profile_networking_enum.network_type'; + protected $idfield = 'profile_networking_enum.nwid'; protected $valfield = 'profile_networking_enum.name'; protected $from = 'profile_networking_enum'; - protected $ac_join = 'INNER JOIN profile_networking ON (profile_networking.network_type = profile_networking_enum.network_type)'; + protected $ac_join = 'INNER JOIN profile_networking ON (profile_networking.nwid = profile_networking_enum.nwid)'; protected $ac_unique = 'profile_networking.pid'; } // }}}