Fix cleanup function
This commit is contained in:
parent
419a57f2d9
commit
300ff2de5e
|
@ -38,6 +38,10 @@ $error_recursion=false;
|
|||
function global_post_cleanup() {
|
||||
global $post_cleanup_list;
|
||||
|
||||
if (!isset($post_cleanup_list)) {
|
||||
return;
|
||||
}
|
||||
|
||||
foreach ($post_cleanup_list as $f) {
|
||||
$f();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue