We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6197613 commit cf83d6aCopy full SHA for cf83d6a
libraries/export.lib.php
@@ -18,12 +18,10 @@
18
*/
19
function PMA_shutdownDuringExport()
20
{
21
- $a = error_get_last();
22
- if ($a != null && mb_strpos($a['message'], "execution time")) {
23
- //write in partially downloaded file for future reference of user
24
- print_r($a);
+ $error = error_get_last();
+ if ($error != null && mb_strpos($error['message'], "execution time")) {
25
//set session variable to check if there was error while exporting
26
- $_SESSION['pma_export_error'] = $a['message'];
+ $_SESSION['pma_export_error'] = $error['message'];
27
}
28
29
0 commit comments