Changeset 11218 for extensions/Front2Back/Front2Back.php
- Timestamp:
- Jun 3, 2011, 6:08:34 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Front2Back/Front2Back.php
r11217 r11218 47 47 if (!empty($conf['Front2Back'][7][$user['language']])) 48 48 { 49 $conf['Front2Back'][7] = explode('|', $conf['Front2Back'][7][$user['language']]); 49 if (strpos($conf['Front2Back'][7][$user['language']], '|') !== false) 50 { 51 $conf['Front2Back'][7] = explode('|', $conf['Front2Back'][7][$user['language']]); 52 } 53 else 54 { 55 $conf['Front2Back'][7] = array($conf['Front2Back'][7][$user['language']], $conf['Front2Back'][7][$user['language']]); 56 } 50 57 } 51 58 else if (!empty($conf['Front2Back'][7]['default'])) 52 59 { 53 $conf['Front2Back'][7] = explode('|', $conf['Front2Back'][7]['default']); 60 if (strpos($conf['Front2Back'][7]['default'], '|') != false) 61 { 62 $conf['Front2Back'][7] = explode('|', $conf['Front2Back'][7]['default']); 63 } 64 else 65 { 66 $conf['Front2Back'][7] = array($conf['Front2Back'][7]['default'], $conf['Front2Back'][7]['default']); 67 } 54 68 } 55 69 else
Note: See TracChangeset
for help on using the changeset viewer.