This repository was archived by the owner on Oct 29, 2020. It is now read-only.
Commit e894a9c
Diego Lorenzo
Ensures that the desired language is available.
When extracting field datat if a specific language is provided, then we need to make sure that if the data is not available in the language specified, then return NULL and exit out of the function otherwise we will get PHP warnings.1 parent 79023b6 commit e894a9c
File tree
2 files changed
+7
-0
lines changed- lib
- modules/dosomething/dosomething_helpers
- themes/dosomething/paraneue_dosomething/includes
2 files changed
+7
-0
lines changedLines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
121 | 125 | | |
122 | 126 | | |
123 | 127 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| 153 | + | |
153 | 154 | | |
154 | 155 | | |
| 156 | + | |
155 | 157 | | |
156 | 158 | | |
157 | 159 | | |
158 | 160 | | |
159 | 161 | | |
160 | 162 | | |
161 | 163 | | |
| 164 | + | |
162 | 165 | | |
163 | 166 | | |
164 | 167 | | |
| |||
0 commit comments