Fix tags delimiter for PostgreSQL

Hello, fix for issue when using *PostgreSQL*
Delimiter for array build was not used when fetching data from database and because of this later in the code:
    ```$result['tags'] = explode(',', $result['tags']);```
didn't produced array of tags but string (or array with just one element). Which resulted later in HTML to display only one tag consisted of all tag names.