Skip to content
Snippets Groups Projects
Commit b18f058f authored by Tim van Dijen's avatar Tim van Dijen
Browse files

Fix InvalidReturnType|InvalidReturnStatement

parent 1b64eba9
No related branches found
No related tags found
No related merge requests found
...@@ -282,7 +282,9 @@ class SQLNameID ...@@ -282,7 +282,9 @@ class SQLNameID
$res = []; $res = [];
while (($row = $query->fetch(PDO::FETCH_ASSOC)) !== false) { while (($row = $query->fetch(PDO::FETCH_ASSOC)) !== false) {
$res[$row['_user']] = $row['_value']; $user = strval($row['_user']);
$value = strval($row['_value']);
$res[$user] = $value;
} }
return $res; return $res;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment