[ticket/11938] use sql_attr_string instead of sql_attr_str2ordinal


PHPBB3-11938
[ticket/11938] Fix whitespace characters

PHPBB3-11938
Merge pull request #2094 from dhruvgoel92/ticket/11938

[ticket/11938] remove deprecated sql_attr_str2ordinal and use sql_attr_string