@@ -161,8 +161,9 @@ |
||
161 | 161 | |
162 | 162 | if ($search[0] == '@') { |
163 | 163 | $search = substr($search, 1); |
164 | - if (property_exists($this->attributes, $search)) |
|
165 | - $results[] = $this->attributes->$search; |
|
164 | + if (property_exists($this->attributes, $search)) { |
|
165 | + $results[] = $this->attributes->$search; |
|
166 | + } |
|
166 | 167 | } |
167 | 168 | |
168 | 169 | return $results; |