FIX SQL Error show_contacts : socialnetworks
This commit is contained in:
parent
2e9cf8d00b
commit
5e98d99321
@ -902,11 +902,11 @@ function show_contacts($conf, $langs, $db, $object, $backtopage = '')
|
||||
't.email',
|
||||
);
|
||||
//Social media
|
||||
foreach ($socialnetworks as $key => $value) {
|
||||
if ($value['active']) {
|
||||
$searchAddressPhoneDBFields['t.'.$key] = "t.socialnetworks->'$.".$key."'";
|
||||
}
|
||||
}
|
||||
// foreach ($socialnetworks as $key => $value) {
|
||||
// if ($value['active']) {
|
||||
// $searchAddressPhoneDBFields['t.'.$key] = "t.socialnetworks->'$.".$key."'";
|
||||
// }
|
||||
// }
|
||||
|
||||
if (!$sortorder) $sortorder = "ASC";
|
||||
if (!$sortfield) $sortfield = "t.lastname";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user