Fixed a Warning which can show up with the Edit Page screen (and potentially more) when a get_var returns back no rows and tries to access an invalid index within the Array.
This fix checks if the SQLSRV has returned back any rows, and will access the 0th row as expected, if not then it will return null as expected within the Documentation. (and likely what is returned already)
Fixed a Warning which can show up with the Edit Page screen (and potentially more) when a get_var returns back no rows and tries to access an invalid index within the Array.
This fix checks if the SQLSRV has returned back any rows, and will access the 0th row as expected, if not then it will return null as expected within the Documentation. (and likely what is returned already)
Fixes: #448