diff options
author | Dhananjay Nakrani <dhananjaynakrani@gmail.com> | 2014-06-11 14:25:36 +0400 |
---|---|---|
committer | Dhananjay Nakrani <dhananjaynakrani@gmail.com> | 2014-06-16 10:20:54 +0400 |
commit | b2e31644410328690807a23bd63eb66cff1e034b (patch) | |
tree | d12520c87f00c05395fd40f5e723a0d8f9389146 /error_report.php | |
parent | caaacefcbebb79116ae7d8b2cb43fe8f08207d18 (diff) |
Make return values of PMA_getReportData() consistent.
Signed-off-by: Dhananjay Nakrani <dhananjaynakrani@gmail.com>
Diffstat (limited to 'error_report.php')
-rw-r--r-- | error_report.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/error_report.php b/error_report.php index 719756ca96..9a4cddf53c 100644 --- a/error_report.php +++ b/error_report.php @@ -104,7 +104,7 @@ if (isset($_REQUEST['exception_type']) $reportData = PMA_getReportData('php'); // report if and only if there were 'actual' errors. - if ($reportData) { + if (count($reportData) > 0) { $server_response = PMA_sendErrorReport($reportData); if ($server_response === false) { $success = false; |