Changeset 3822 for branches/2.2/mobile
- Timestamp:
- 02/25/11 14:45:24 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/mobile/inc/class.ui_mobilecc.inc.php
r3821 r3822 289 289 290 290 $test = false; 291 291 if ($conn['connection_is_default']) { 292 292 $test = true; 293 293 } 294 294 295 295 if (is_array($conn)){ 296 296 $test = true; 297 } 298 297 }else{ 298 $test = false; 299 } 299 300 if ( $test) { 300 301 if ( ($conn['id_type'] == 1) ) 301 302 $mail = $conn['connection_value']; 302 303 else if ( ($conn['id_type'] == 2) ) 303 304 $tel = $conn['connection_value']; 304 } 305 306 if ($conn['id_type'] == null){ 307 if ( ($conn['type'] == 'email') ) 308 $mail = $conn['connection_value']; 309 else if ( ($conn['type'] == 'phone') ) 310 $tel = $conn['connection_value']; 311 312 } 313 } 305 314 } 315 306 316 307 317
Note: See TracChangeset
for help on using the changeset viewer.