Added explicit null check before calling ->getLiteral() on the result row and...
Added explicit null check before calling ->getLiteral() on the result row and returns sensible default (0) when there are no results for a COUNT query
Closes #3551154
Added explicit null check before calling ->getLiteral() on the result row and returns sensible default (0) when there are no results for a COUNT query
Closes #3551154