@@ -146,10 +146,11 @@ |
||
146 | 146 | $str = trim(preg_replace('/\s+/', ' ', $b->html())); |
147 | 147 | $attach = htmlspecialchars_decode($str); |
148 | 148 | |
149 | - if ($bs->count() == 1) |
|
150 | - $result[$attr] = $attach; |
|
151 | - else |
|
152 | - $result[$attr][] = $attach; |
|
149 | + if ($bs->count() == 1) { |
|
150 | + $result[$attr] = $attach; |
|
151 | + } else { |
|
152 | + $result[$attr][] = $attach; |
|
153 | + } |
|
153 | 154 | } |
154 | 155 | } |
155 | 156 | } |