Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
b2a7b91495
@ -25,7 +25,7 @@ class PMA_Error_Handler
|
||||
/**
|
||||
* holds errors to be displayed or reported later ...
|
||||
*
|
||||
* @var array of PMA_Error
|
||||
* @var PMA_Error[]
|
||||
*/
|
||||
protected $errors = array();
|
||||
|
||||
@ -86,7 +86,7 @@ class PMA_Error_Handler
|
||||
/**
|
||||
* returns array with all errors
|
||||
*
|
||||
* @return array PMA_Error_Handler::$_errors
|
||||
* @return PMA_Error[]
|
||||
*/
|
||||
protected function getErrors()
|
||||
{
|
||||
@ -98,7 +98,7 @@ class PMA_Error_Handler
|
||||
* returns the errors occurred in the current run only.
|
||||
* Does not include the errors save din the SESSION
|
||||
*
|
||||
* @return array of current errors
|
||||
* @return PMA_Error[]
|
||||
*/
|
||||
public function getCurrentErrors()
|
||||
{
|
||||
|
||||
@ -102,6 +102,7 @@ function PMA_getReportData($exception_type = 'js')
|
||||
return array();
|
||||
}
|
||||
foreach ($_SESSION['prev_errors'] as $errorObj) {
|
||||
/* @var $errorObj PMA_Error */
|
||||
if ($errorObj->getLine()
|
||||
&& $errorObj->getType()
|
||||
&& $errorObj->getNumber() != E_USER_WARNING
|
||||
|
||||
Loading…
Reference in New Issue
Block a user