owldesign / QARR

Grow your business by allowing visitors to leave reviews or ask a questions.
https://qarr.tools
Other
6 stars 5 forks source link

Author's name not showing up if it only has one word. #15

Closed 23d1 closed 3 years ago

23d1 commented 5 years ago

For some reason, the author's name isn't rendering on the frontend if the author only supplied a first name (one word) using {{ review.author }} or {{ question.author }}.

{{ review.fullName|split(' ')[0] }} and {{ question.fullName|split(' ')[0] }} works as a workaround.

owldesign commented 5 years ago

I've made some updates, pull latest and let me know if you still having issues.