fixed chart error handler.
This commit is contained in:
@@ -213,9 +213,14 @@ function PMA_chart_results($data, &$chartSettings)
|
|||||||
return $chartCode;
|
return $chartCode;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Simple handler of chart errors.
|
||||||
|
*/
|
||||||
function PMA_handle_chart_err($errors)
|
function PMA_handle_chart_err($errors)
|
||||||
{
|
{
|
||||||
|
if (!empty($errors)) {
|
||||||
PMA_warnMissingExtension('GD', false, 'GD extension is needed for charts.');
|
PMA_warnMissingExtension('GD', false, 'GD extension is needed for charts.');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
Reference in New Issue
Block a user