fix for bug #3071: r37248 - new function makes problems in listview/unable to hide field

This commit is contained in:
Ralf Becker 2011-11-20 09:14:16 +00:00
parent 7abfde460c
commit 8a1bb0a89e
2 changed files with 3 additions and 3 deletions

View File

@ -1413,7 +1413,7 @@ class addressbook_ui extends addressbook_bo
// disable photo column, if view contains no photo(s) // disable photo column, if view contains no photo(s)
if (!$photos) $rows['no_photo'] = true; if (!$photos) $rows['no_photo'] = true;
// disable homeaddress column, if we have no homeaddress(es) // disable homeaddress column, if we have no homeaddress(es)
if (!$homeaddress) $rows['no_home'] = true; if (!$homeaddress) $rows['no_home_adr_two_countrycode_adr_two_postalcode'] = true;
// disable roles column // disable roles column
if (!$roles) $rows['no_role'] = true; if (!$roles) $rows['no_role'] = true;
// disable note column // disable note column

File diff suppressed because one or more lines are too long