@@ -162,7 +162,7 @@ discard block |
||
162 | 162 | public function convertResultSet($result, $idAsKey = false, $asObject = true) |
163 | 163 | { |
164 | 164 | $ret = []; |
165 | - while (false !== ($myrow = $this->db->fetchArray($result))) { |
|
165 | + while (false !== ($myrow = $this->db->fetchArray($result))) { |
|
166 | 166 | $obj = $this->create(false); |
167 | 167 | $obj->assignVars($myrow); |
168 | 168 | if (!$idAsKey) { |
@@ -233,7 +233,7 @@ discard block |
||
233 | 233 | } |
234 | 234 | |
235 | 235 | $myts = \MyTextSanitizer::getInstance(); |
236 | - while (false !== ($myrow = $this->db->fetchArray($result))) { |
|
236 | + while (false !== ($myrow = $this->db->fetchArray($result))) { |
|
237 | 237 | //identifiers should be textboxes, so sanitize them like that |
238 | 238 | $ret[$myrow[$this->keyName]] = empty($this->identifierName) ? 1 : $myts->htmlSpecialChars($myrow[$this->identifierName]); |
239 | 239 | } |