SemanticMediaWiki / SemanticScribunto

Provides service functions to support the Scribunto extension
Other
24 stars 14 forks source link

Fix getQueryResult to return results in correct order #6

Closed mint-thompson closed 8 years ago

mint-thompson commented 8 years ago

Change the results array to use integer keys rather than string keys. Using integer keys will guarantee that the result elements will remain in the correct order when the PHP array is converted into a Lua table.

See #5