Changeset 3303 for branches/2.2/contactcenter/inc/class.ui_data.inc.php
- Timestamp:
- 09/28/10 16:59:02 (14 years ago)
- Location:
- branches/2.2/contactcenter/inc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/contactcenter/inc
-
Property
svn:ignore
set to
.class.ui_data.inc.php.swp
.class.bo_global_ldap_catalog.inc.php.swp
-
Property
svn:ignore
set to
-
branches/2.2/contactcenter/inc/class.ui_data.inc.php
r3282 r3303 294 294 295 295 case 'get_cards_data': 296 296 297 $ids = false; 297 298 // To support ldap catalogs using accentuation … … 300 301 $ids = utf8_decode($this->search($_POST['data'])); 301 302 } 303 304 if( $_POST['letter'] != 'search' && (!isset($_POST['data'])) ) 305 { 306 if(!$this->bo->catalog->src_info) { 307 $ldap = CreateObject('contactcenter.bo_ldap_manager'); 308 $this->bo->catalog->src_info = $ldap->srcs[1]; 309 } 310 311 if($this->bo->catalog->src_info['visible'] == "false") 312 { 313 unset($_POST['letter']); // = null; 314 } 315 } 302 316 303 317 if(isset($_SESSION['ids'])) … … 811 825 'field' => 'contact.names_ordered', 812 826 'type' => 'iLIKE', 813 'value' => $letter !== 'all' ? $letter.'%' : '%'827 'value' => ( isset($letter) && ($letter !== 'all') ) ? $letter.'%' : ( !isset($letter) ) ? '' : '%' 814 828 ), 815 829 /*
Note: See TracChangeset
for help on using the changeset viewer.